paoloissic
June 11th, 2005, 02:53 PM
im having problems putting sounds in my flash game....im using flash MX and im making a tile based RPG game:link: ....i got the background music playing in the first map...but when my character enters the second map, the music stops and play all over again in the beginning.....i want the music to be continously playing while the character is on map 1 and map 2...how can i remedy this?
im using this simple A.S for the bg music in map 1:
function buildMap(map) {
stopAllSounds();
forest = new Sound();
forest.attachSound("forest");
forest.start();
i tried to remove the line stopAllSounds();....as a result, the music became overlapping when the character transfers from one map to another...please help me with this one....
Also..is there any other way to make maps easier?...coz ryt now im using 2-dimensional arrays for my map....i only have two 640x480 maps now and it's starting to get confusing editing them...what more if i have more that 10 maps....aaaaaarrrrrggghhhhh:worried: ...by the way im using 32x32 tile sizes
Pease i really need some help here
im using this simple A.S for the bg music in map 1:
function buildMap(map) {
stopAllSounds();
forest = new Sound();
forest.attachSound("forest");
forest.start();
i tried to remove the line stopAllSounds();....as a result, the music became overlapping when the character transfers from one map to another...please help me with this one....
Also..is there any other way to make maps easier?...coz ryt now im using 2-dimensional arrays for my map....i only have two 640x480 maps now and it's starting to get confusing editing them...what more if i have more that 10 maps....aaaaaarrrrrggghhhhh:worried: ...by the way im using 32x32 tile sizes
Pease i really need some help here