Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: sound in Flash |
From: | Marc Hoffman, Poison Dart Frog Media |
Date: | Thu, 18 May 2000 15:42:30 +0100 |
At 05:20 PM 5/17/2000 , you wrote:
>I need some help with managing sound in a small MC on a website. It is
>an animation with a sound associated with a frame, similar to an
>animated gif.
>
>I don't want the sound to keep repeating (very irritating) every time
>the playhead goes over this frame. I would like it to stop after 4 or 5
>times. I am not experienced enough with actionscript to know how to tell
>it to stop after 4 or 5 times. Can this be done?
I'm sure you can get this to work in Action Script, but here's a simple
non-Action Script approach:
I assume you're using some sort of button to trigger the rollover sound.
Put the button in its own layer in a Movie Clip. Give it the rollover
action Play. Put a few initial blank frames in the MC, then six frames with
Stop actions. In the first of these stopped frames, add nothing. In the
next four, put the sound, so that when the button is rolled over, the MC
will play one frame at a time and the sound will be triggered. Notice the
last stopped frame does not have a sound, so it will be silent. In the
frame following it, put the frame action Go to Previous Frame. Once the MC
gets to the last stopped frame, telling it to Play will just return it to
the same silent frame.
Marc Hoffman
Poison Dart Frog Media
Flash portfolio: http://www.dartfrogmedia.com/portfolio
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: sound in Flash, Gina Anderson
Replies
Re: FLASH: (OT)Hosting Services., Laura Mollett
FLASH: sound in Flash, Gina Anderson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]