I'm designing a Flash animation and want the sound to stop at a certain frame.
How do you stop a sound from playing in Flash without buttons?
to stop all sounds use: stopAllSounds();
to stop a specific sound: mySound.stop();
to stop a sound on the timeline edit the sounds timeline, in the frame properties panel.
Reply:I don't know how exactly, I'm not a big flash user myself, but you could just edit the sound so it's shorter...
Or whatever code you want to run if you press a button to stop the sound, you could just insert that and tell it to stop at frame _... maybe that would work..
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment