I'm using flash.net.NetStream and flash.media.Video to play a .flv, here is some code:
var stream:NetStream = new NetStream(connection);
//next line is to avoid an error message
stream.client = {onMetaData: function(obj:Object):void {}}
var video:Video = new Video();
video.attachNetStream(stream);
stream.play("url.to/video");
addChild(video);
That plays the video, but how I can know WHEN the video has played from the beginning to the end? How to know if the video was played ALL it's length?
PS: Sorry for my bad English.