-
Play and stop sounds on enter and exit frames - AS3
Hi there,
I would like to have a sound file play when the playhead reaches a frame and then stop when the playhead moves to another frame.
This is the code I currrently have in the frame to play my sound (sound_1) - works fine, no problems...
var mySound:Sound = new sound_1();
mySound.play();
What do I need to add, to have the sound stop, when the playhead exits that frame.
Any help is much appreciated.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|