0

I made a menu which has multiple SWF files. In the first movie, the audio is playing but in the second SWF, my audio is not playing.

Is there any way to use only one audio for multiple SWF files without putting the audio on every each one of them?

Evil Mouse
  • 19
  • 2
  • 10

1 Answers1

0

There is a possibility of doing that if the sound and the other swf files are in the same directory and load THAT audio to the swf.

var s:Sound = new Sound();

s.onLoad = function():Void
{
    trace("Song loaded.");
};

s.onSoundComplete = function():Void
{
    trace("Song done.");
};

s.loadSound("music.mp3", true);
chano
  • 163
  • 1
  • 3
  • 13