Is there an event listener in AS3 for when a sound file has finished playing?

Hi, I'm making a slow and painful transition from AS2 to AS3, and moreover I've never done much work with sound.  In any case I have a project where sound files will be loaded into the movie and played.  After certain files are finished playing, I want to control some movies or remove them all together from the stage.  All of this isn't a problem, except I haven't found an event listener for when a sound file finishes playing.  I have seen the "complete" event in the livedocs, but this appears to be when the file finishes loading -- not necessarily done playing.  Do I have to start timers or something?  Thanks in advance for help.  
Who is Participating?
Antonio EstradaConnect With a Mentor Tech Leader / Senior Web DeveloperCommented:
There is, try the following:


var mySoundChannel:SoundChannel = new SoundChannel();
var mySound:Sound = new Sound();
mySound.load(new URLRequest("some_file.mp3"));
mySoundChannel =;
mySoundChannel.addEventListener(Event.SOUND_COMPLETE, soundComplete);
function soundComplete(event:Event):void {

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.