Solved

Question about stoping a netstream ?

Posted on 2004-09-04
2
663 Views
Last Modified: 2010-08-05
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
0
Comment
Question by:fixitben
2 Comments
 
LVL 10

Accepted Solution

by:
muso120999 earned 500 total points
ID: 11981629
Have you tried: netStream.close();

Looking into this, I have noticed that a few people have had problems with NetStream; here are some links that may be useful too...
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001594.html
http://www.macromedia.com/support/flashcom/ts/documents/comms_apps.htm
0
 
LVL 7

Author Comment

by:fixitben
ID: 11981641
That did it

Thanks
Fixitben
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
High definition conversion videos in YouTube 12 280
File drag and drop 6 131
Cannot install Adove Flash player on Windows 2012R2 6 96
You Tube Videos not playing 9 116
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now