3 Replies Latest reply on Sep 10, 2008 7:35 AM by kglad

    Sound in loaded MC does not play

    cayohueso2 Level 1
      Hi,

      I have a Flash movie that uses the following code to load a Sound from the library:

      button.onRelease = function() {
      var my_sound:Sound = new Sound();
      my_sound.attachSound("mySoundID");
      my_sound.start();
      }

      It works fine when I export THAT movie, but when I load it (the swf file) into another Flash movie, using MovieClipLoader, the sound does not play.

      What am I doing wrong?

      Thanks