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.fil e);
What I want to do is add something like netStream.stop(_global.fil e); 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
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
var netStream:NetStream= new NetStream (netConn);
my_video.attachVideo (netStream);
netStream.setBufferTime(55
_global.file="proposalhigh
netStream.play(_global.fil
What I want to do is add something like netStream.stop(_global.fil
Thanks
Fixitben
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Fixitben