Is there an event listener in AS3 for when a sound file has finished playing?
Posted on 2009-06-30
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.