FORUMS: list search recent posts

Playing Second Movie, not showing Buffer

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
_Danno~_
Playing Second Movie, not showing Buffer
on Feb 1, 2006 at 12:43:34 am

I have in my first keyframe of the main timeline this current script:

#################################
var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);

//Set the buffer time, how much video will be buffered before video plays
ns.setBufferTime(30);
ns.onStatus = function(info){
if(info.code == "NetStream.Buffer.Full"){
bufferClip._visible = false;
}
if(info.code == "NetStream.Buffer.Empty"){
bufferClip._visible = true;
}
}

theVideo.attachVideo(ns);

ns.play("videos/VIDEONAMEHERE.flv");
#################################


and that's great, it loads the video upon start up and the buffering screen shows up. But when i add a button/movieclip to the stage to start to play a different video it plays the video, but it does not show the Buffer screen. This is what i have on the movieclip/button to load the second video:


#################################
on(release){
_root.ns.play("videos/SECONDVIDEONAME.flv");
}

#################################

Any Help would be greatly appreciated! Thank you in advance


Return to posts index

Sher Ali
Re: Playing Second Movie, not showing Buffer
on Feb 2, 2006 at 10:24:10 am

If you are testing it offline without uploading it to a
server then you will not see the corect results, other than
there is no problem with the code.


Sher Ali,
Interactive Media Developer


Return to posts index

_Danno~_
Re: Playing Second Movie, not showing Buffer
on Feb 3, 2006 at 6:47:40 am

That's so odd... because the problem is happening when on my server.

Any other suggestions?


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]