1 Reply Latest reply on Nov 11, 2009 9:16 PM by Flex harUI

    How can I tell if a sound is playing in Flex application?

    Colin Zhu

      Hi All,


      Simple question but I can't seem to find an answer to. How can I tell if my Flex application is currently playing sounds from a SWF file?


      What I'm trying to do is load a SWF file dynamically into my Flex app. However, these SWF files have sounds in them and they don't seem to stop even after I unload the SWF files.


      I'm trying to get around this by stopping all sounds using the flash.media.SoundMixer.stopAll() but it's getting called too early, before the SWF files are fully loaded and rendered in the application.


      I searched around and it seems like many people are having issues with this. Maybe someone can help me find a solution.