Using ONE Sound() object in Actionscript3, how can I play a one MP3 and then, when the user chooses a different one, play a second sound, using the SAME Sound() object?
EDIT: See my answer for how I did it.
You cannot use same Sound
object to play multiple files.
Once
load()
is called on aSound
object, you can't later load a different sound file into that Sound object. To load a different sound file, create a newSound
object.