Groups | Blog | Home
all groups > flash (macromedia) > august 2006 >

flash (macromedia) : Make mp3 that has been loaded into swf to stop playing


-->dan mode
8/9/2006 3:41:57 PM
Did you try:

my_sound.stop();


--

Dan Mode
--> Adobe Community Expert
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog


[quoted text, click to view]

Dilroy
8/9/2006 9:30:32 PM
Hi,

I've managed to create a 'jukebox' that has a selection of tracks. Each track
is loaded into the swf using the following scripting:

var my_sound:Sound = new Sound();
my_sound.loadSound("nuffnek.mp3",true);

I have created a stop button which when pressed takes the movie to a point on
the timeline where there is no:

var my_sound:Sound = new Sound();
my_sound.loadSound("nuffnek.mp3",true);

But the mp3 file continues to play.
Is there some scripting that I need to put at this point on the timeline that
maybe 'unloads' the sound????

Any help much appreciated.




Dilroy
8/9/2006 9:39:46 PM
AddThis Social Bookmark Button