-
stop music, stop stream error
I have background music running like this:
my_sound = new Sound();
my_sound.attachSound("background");
_root.my_sound.start(0,1000);
and onto another movie clip I have the following stream video runnig like this:
var conexion:NetConnection = new NetConnection();
conexion.connect(null);
var stream:NetStream = new NetStream(conexion);
cocineros_adsl.attachVideo(stream);
stream.play("images/cocineros_adsl.flv");
Finally I have a button to stop the background music like this:
_root.my_sound.stop();
The problem is as it follows: while I'm playing a streaming video and I hit the stop button the streming stops too.
Some idea about what's going on?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|