Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : removing sound objects


amikin
2/13/2004 11:35:17 PM
I'm wondering if there is any way to remove a sound object similar to removing
a movie clip

I've tried using delete(mySoundObj)
I've tried putting the sound object inside a movieClip and then removing the
movieCli
but the sound sounds will not delete. If I don't use a stop, and remove the
movie clip the sound object is in the sound keeps on playing

Is the only way to stop a sound once it has loaded and is playing to use
mySoundObj.stop()
Using the stop works for me but I would prefer to have the object disappear
altogether
N Rohler
2/14/2004 1:49:59 AM
mySound.stop();

AddThis Social Bookmark Button