Link to home
Start Free TrialLog in
Avatar of fixitben
fixitben

asked on

Question about stoping a netstream ?

Ok here is the link to the website that I am working on and I have a flv file that streams under the Proposal link but when I click on anther link while the video is playing the audio keeps going in the back ground  And if you go back to the link while the audio is still playing it gets real buggy if you know what I mean.  Just check out the link http://theweddingsite.org  just skip the into.  I use this as my code

var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream= new NetStream (netConn);
my_video.attachVideo (netStream);
netStream.setBufferTime(55);
_global.file="proposalhigh.flv";
netStream.play(_global.file);

What I want to do is add something like netStream.stop(_global.file); to the other buttons but that doesn't work So I am wondering if there is a stop for the movie somehow basically a unload when any of the other buttons are clicked.

Thanks
Fixitben
ASKER CERTIFIED SOLUTION
Avatar of muso120999
muso120999

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fixitben
fixitben

ASKER

That did it

Thanks
Fixitben