6 Replies Latest reply on Nov 29, 2010 1:53 PM by atrzebunia

    Sound plays in stand-alone SWF, but not when SWF is loaded into another SWF

    atrzebunia Level 1

      I have my Main FLA (Main.SWF) into which I load another SWF (1.SWF).  I have a sound the plays in 1.SWF and it works just fine when I publish 1.SWF alone.  When I load 1.SWF into my Main.SWF and publish Main.SWF, the sound in the loaded 1.SWF no longer plays.  I can't figure out why.

       

      //Here's the code (AS2) in 1.SWF to play the sound; seems pretty straight forward.

       

      mySound = new Sound();
      mySound.attachSound("soundSWF1");
      mySound.start();