I'm a complete newbie to flash and even more generally than that, coding :D. I'm currently taking a game design course at my high school and I'm having some trouble with getting my sound files to reset as opposed to simply overlaying each other and coming out as a jumbled mess.
I've managed to bring the sound in through code with:
in the parent function and:
var loop1 = new death();
in the child. This has successfully brought in the sound /cheer. I'm not sure where to go from here though to get the sound to reset as opposed to overlaying if it's attempted to be brought out twice or more at the same time. Can anyone offer me some advice?