all groups > flash actionscript > june 2005 >
You're in the

flash actionscript

group:

SOUND CLASS


SOUND CLASS ASDFASDFD
6/9/2005 9:04:12 PM
flash actionscript: I am syncing a sound to animation.........
Just wondering the easiest way to have someone press the "NO SOUND" and the
syncing sound would not play.....but when they go to press it again that it
would sync back up.....any ideas....help!
Re: SOUND CLASS mandingo
6/9/2005 9:07:26 PM
I haven't really played with the Sound object but can't you go :

mySound.setVolume(0);

to just mute the sound without stopping it?

Re: SOUND CLASS lukasz_j
6/9/2005 10:23:58 PM
Hey ;)

Maybe this will help you:

Put this code into 'play' button:

on (release) {

_root.mySound.start(_root.soundPosition)
_root.myMC.play();
}

and this into "stop" button.

on (release) {
_root.mySound.stop();
_root.soundPosition = _root.mySound.position/1000;
_root.myMc.stop();
}





Re: SOUND CLASS lukasz_j
6/9/2005 10:25:53 PM
well, maybe not you, you must have found a solution in 2 years :)

AddThis Social Bookmark Button