Groups | Blog | Home
all groups > macromedia flash flashcom > january 2006 >

macromedia flash flashcom : what is wrong with NetStream.Play.Complete


doof moof
1/31/2006 1:05:55 AM
is it my code or is there something wrong with the documentation?

function PlayNextVid(){
MainViewerns.play(playList+dataRate);

MainViewerns.onStatus = function(info){
trace("vid stream status = "+info.code);
if(info.code == "NetStream.Play.Start"){
trace("play has started");

}else if(info.code == "NetStream.Play.Complete"){
trace("play has completed");
playPoss++;
if (playList == null){
AddRandomVid();
}else{
PlayNextVid();
};
};
};
}

when the video has finnished playing there is no NetStream.Play.Complete being
recieved by the client. when i check the help there is a **** next to it to
indicate there is a footnote relating to it at the bottom of the page but it
is'nt there. so is there somthing wrong with my code or is this status message
just in the imagination of the person who wrote the help file? if so what else
can i use to indicate that a video has finnished at another one needs to be
started.
doof moof
1/31/2006 2:28:21 AM
AddThis Social Bookmark Button