Thank you very much for help. I used this for two different flv
videos.Ichecked status for both:
For one I have this trace
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Buffer.Flush
NetStream.Buffer.Empty
and for another
NetStream.Play.Start
NetStream.Buffer.Full
NetStream.Buffer.Flush
NetStream.Play.Stop
I am not big expert in video. Can anybody explain why one video has status
NetStream.Play.Stop and another not? And how to write script that find that
video is finished for any video.
2007/1/18, Matthias Dittgen <[EMAIL PROTECTED]>:
use this:
myNetStream.onStatus = function(infoObject:Object):Void {
if (debug==true)
{
status_txt.text += "status (" + this.time + " seconds)\n";
status_txt.text += "\t Level: " + infoObject.level + "\n";
status_txt.text += "\t Code: " + infoObject.code + "\n\n";
}
if (infoObject.code=="NetStream.Play.Stop")
{
// VIDEO FINISHED..
// use some Delegate.create(...) here
}
}
HTH,
Matthias
_______________________________________________
[email protected]
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
_______________________________________________
[email protected]
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