1 Reply Latest reply on Apr 30, 2007 3:52 AM by dr_ross

    Problem with loading sound file

    karthic_v Level 1
      I have created two swf files 'Loader.fla' and 'Sound.fla'.

      Inside the 'Sound.fla' just i import a sound file to library and named it 'snd'. I added the following script on the first frame

      var my_sound:Sound = new Sound();
      my_sound.attachSound("snd");
      my_sound.start(0, 1);

      the script is working perfectly, i can hear the sound.

      Inside the 'Loader.fla' i create a movieclip and a button. Movie clip called 'MovieHolder'.

      then i added the following scripts on the button

      on(release){
      movieHolder.loadMovie("sound.swf", this.getNextHighestDepth());
      }

      Now run the loaded.fla and clink on the button. the 'sound.swf' has loaded but i cannt hear the sound. I dont know why !!!!!!!!!!

      Please help me to find the solution for this...... :(