PDA

View Full Version : Can't stop the noise!


JennySpade
04-05-2003, 10:36 PM
Hi!

I have an mp3 playing on scene 1. When I click a button to go to scene 2, 3, etc, I want it to stop playing (i want a different mp3 to play instead for each separate scene).

is there an actionscript that i'm supposed to put on the first keyframe of the next scene? or on the button that takes you there? something that would stop a sound and play another one?

cheers,
jenny




Report this post to a moderator | IP: Logged

Billy T
04-06-2003, 08:52 AM
stopAllSounds()

farafiro
04-06-2003, 08:53 AM
stopAllSounds()
mySound.attachSound("newOne")out that to any from what u said