FORUMS: list search recent posts

Reseting Sound

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Michael Hartman
Reseting Sound
on Oct 27, 2010 at 5:57:27 pm


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:

function onClick(Event:MouseEvent):void{

in the parent function and:

var loop1 = new death();
function die()

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?

~Michael Hartman

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved