Within my site I have a loadMovie statement which calls a clip to be loaded into a movieclip “movie” on stage. Within this movieclip which loads in I have a LoadMovieNum statement which loads a game onto level1 within the clip. All is working well except my sound for the game.
The sound is attached using the following declarations within the actions of the first frame.
The linkage was set up correctly because sound was working when the game was run standalone.
var laser = new Sound();
laser.attachSound(“laser”);
var explode = new Sound();
explode.attachSound(“explode”);
var music = new Sound();
music.attachSound(“music”);
var powerup = new Sound();
powerup.attachSound(“powerup”);
The sound are then called in turn when required using a statement. eg
powerup.start();
Have any of you guys any idea why this may not be working?
Is it better to load the mp3 files externally into the exported movie?
Thanks,
chame