PDA

View Full Version : help with actionscript 3.0 as3 video scrubber / slider please?


typer007
05-11-2008, 04:58 PM
hello people,

im trying to make a flash video player using as3,

ive managed to do pretty much all of it, but im stuck at the video scrubber or slider, or whatever you call it,

i can get the video duration from the metadata function using data.duration

but i dont know how to send that value to another function, so that i can do sum math in another function for the functionality of the slider?

im stuck? any help would be appreciated,

thanks

sunny

typer007
05-11-2008, 07:32 PM
ok so i managed to get the video length,

the problem im facing now is, ive got a seekbar width of say 100 pixels

how can i attach the video length to that, i mean, the video length is dynamic right?

im confused,

any help appreciated

thanks

sunny