Link to home
Start Free TrialLog in
Avatar of carlosgon
carlosgon

asked on

Detect if video FLV is finished, play timeline and How to control this video

http://www.thebeatles.mus.br/4.zip

This is my  fla with a FLV video. I use this code to play it:

_global.file="video1.flv";
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream= new NetStream (netConn);
my_video.attachVideo (netStream);
netStream.setBufferTime(10);
netStream.play(_global.file);

stop();


How can I detect if this video is finished ? How can I put control like play, pause, rew, ff to this video? Can I use components to control it? Can you put how I can do this in my file?

Thanks a lot.
ASKER CERTIFIED SOLUTION
Avatar of hsmtp
hsmtp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial