Carl Welch Wrote: > I am have a difficult time detecting when a progressive video has > played to the end. is there listener for this? note: I'm not using > the flvPlayback - I'm creating the video using : _video=new Video(510,382);
I don't think there is a completely reliable way to detect when a progressive video has ended. You can get the 'lasttimestamp' property if you're using Burak's FLV Injector, but an flv will sometimes stop before reaching this time, so checking for that value won't work. Flvs also have a built in 'duration' property, but I've never seen an flv actually reach that time. The NetStream.Play.Stop event would seem to be a good candidate, but it sometimes gets fired randomly if you're scrubbing through a video, so that alone won't always work either. My kludgy solution is to put some code in a NetStream.Play.Stop event that sees if the video is less than 0.5 seconds from 'lasttimestamp'. It would be nice if NetStream.Play.Complete worked for progressive video. _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

