I look through the help file but didn't find onComplete event. What I always use is onStatus NetStream.Play.Stop.
On 1/18/07, Jordan Snyder <[EMAIL PROTECTED]> wrote:
The onMetaData event is fired in the beginning of the clip if there is metadata. Using similar code, look at the onComplete event of the NetStream class. cheers On 1/17/07, natalia Vikhtinskaya <[EMAIL PROTECTED]> wrote: > Hi to all > How to determine that the video is finished? > I tried > ns["onMetaData"]=function(obj){ > duration=obj.duration; > } > and then > if(ns.time==duration) > > but it is always false. > Thank you for any help. > _______________________________________________ > 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 > -- Jordan Snyder Applications Developer Image Action LLC http://www.imageaction.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
-- /* Bored, sometimes. */ _______________________________________________ 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