I use flash.net.NetStream and flash.media.Video to play .flv, here is the code:
var stream:NetStream = new NetStream(connection);
stream.client = {onMetaData: function(obj:Object):void {}}
var video:Video = new Video();
video.attachNetStream(stream);
stream.play("url.to/video");
addChild(video);
What the video plays, but how can I know WHEN the video was played from start to finish? How do I know if a video has been played ALL of its length?
PS: Sorry for my bad english.
source
share