Hi,
I’m preloading the frames of my flash movie in the first frame, after UN-checking the ‘export in first frame’ from all the sounds in the library and assigning the AS Classes to export into frame 2 in ‘Publish Settings’ - my sounds appears have vanished for some reason…
Any help would be great…
Here’s the code for the sound object (on frame 3 of the movie - beginning of the movie)
_root.createEmptyMovieClip(“soundHolder0_mc”, 1);
_root.createEmptyMovieClip(“soundHolder1_mc”, 2);
_root.createEmptyMovieClip(“soundHolder2_mc”, 3);
mySound1_sound = new Sound(soundHolder0_mc);
mySound2_sound = new Sound(soundHolder1_mc);
mySound3_sound = new Sound(soundHolder2_mc);
// attach sounds
mySound1_sound.attachSound(“housesound”);
mySound2_sound.attachSound(“walking”);
mySound3_sound.attachSound(“mousey”);
// loop sounds
mySound1_sound.start(0, 100);
mySound2_sound.start(2, 100);
// set volume
mySound1_sound.setVolume(25);
mySound2_sound.setVolume(100);
Thanks