Hello,
I have created a flash movie in AS3, I wanted to have a seek bar [or a Back and Forward button] to move my movie forward/backward.
Any ideas on how to get this done?
Help appreciated!
Thanks
Hello,
I have created a flash movie in AS3, I wanted to have a seek bar [or a Back and Forward button] to move my movie forward/backward.
Any ideas on how to get this done?
Help appreciated!
Thanks
Fast. Since you cannot get a hold of anything :D :S
For Rewind
Make a Button say RewindBtn
Add an event listener say RwdBtnRelease when the Rewind Button is realeased
If you are using the NetStream class
then this all you add to the RwdBtnRelease function
ns.seek(0); // Assuming your NetStream instance is named ns
Then for play
Make a Button say PlayBtn
Add an event listener say PlayBtnRelease when the Play Button is realeased
If you are using the NetStream class
then this all you add to the PlayBtnRelease function
ns.pause(); // Assuming your NetStream instance is named ns
Done and done so when the play button is clicked when playing it is paused and vice versa. For the rewind it sets the video back to the beginning.