How to control FLV Playback in flash with Action Script?
How to control FLV Playback in flash with Action Script? I want to play Video in my webpage similar to YouTube. I have done it with automatic play开发者_如何学C but I want it when you press play button, then play and pause, volume, next & back as well.
There are tons of tutorials on this subject on the web (example: gotoAndLearn)
Basically you just create a Video object to which you attach a NetStream then you perform your play, pause, stop and seek operations on the NetStream which is really straightforward.
Take a look at the AS3 documentation on the videoclass also, it helped me a lot.
精彩评论