Hi All,
I'm write a simple flash player that play some video in progressive
download, when a video end
the player play the next video.
I have used this code for verify the stop of the video:
....
ns.onStatus = function(info) {
switch(info.code){
case "NetStream.Play.Start":
seenStop = false;
seenEmpty = false;
seenFlush = false;
break;
case "NetStream.Play.Stop":
seenStop = true;
break;
case "NetStream.Buffer.Empty":
if(seenStop && !seenFlush){
seenEmpty = true;
playVideo();
}
break;
case "NetStream.Buffer.Flush":
if(seenStop && !seenEmpty){
seenFlush = true;
playVideo();
}
break;
}
};
....
playVideo is my function that do ns.play(new_video) where new_video is the
name of the new video to play.
The problems is the NetStream.Play.Stop event that in Linux Flash 9 is never
throws. Someone have the same problems ?
In Windows with the player 9 instead NetStream.Play.Stop is throws but
sometimes the next Empty or Flush isn't throws.
Someone have the same problems ?
Thanks.
Moreno
_______________________________________________
[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