Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Question about stoping a netstream ?

Posted on 2004-09-04
2
Medium Priority
?
672 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
muso120999 earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

730 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