Hi, i've been wondering myself, and up till now we have reverted to processing the flv with a meta data injector (burak's) and checking the current flv time against the duration to see if it has ended.
grtz Hans On 9/6/06, Andreas R <[EMAIL PROTECTED]> wrote:
I know this is an old question but i can't really seem to get a good grasp of it. I have a client that loads FLVs locally off the machine it runs on. When movies stop, events get broadcasted. however sometimes the stop event i set up fails: onStatus = function(info){ switch(info.code){ case "NetStream.Play.Start": stopped = false; break; case "NetStream.Buffer.Empty": if(stopped){ broadcastMessage("onVideoComplete"); } break; case "NetStream.Play.Stop": stopped = true; break; } } On tracing out info.code onStatus, i see that buffer.empty and buffer.full flicker on and off during playback, and that gets me worried. Sometimes Play.stop is called before the buffer has played out, but buffer.flush and buffer.empty right now seem so unreliable in terms of actually firing at the end of the FLV that i'm confused as to how to even approach this. Anyone got a solid, sound solution? Thanks, - Andreas SJ _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com