Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: sound problem |
| From: | Marc Hoffman, Poison Dart Frog Media |
| Date: | Fri, 18 Jun 1999 22:09:38 +0100 |
At 05:37 PM 6/18/99 +0200, you wrote:
>
>
>Hi Flasher....How do I tell tell target to play sound on rollover state over
>butoon and stop it on rollout?
If the button will always behave this way, you don't need tellTarget. In
the UP frame in button symbol edit mode, use frame property>sound to
identify the sound and set sync to Stop. In the OVER frame, do the same
but set sync to Start.
If the button should behave this way only in certain instances, you need
tellTarget. Put the sounds in frames of a MovieClip and tellTarget the
movie clip to go to those frames. Note: it is usually best to go to an
empty frame and have the sound in the next frame; it doesn't always work
well to put the sound right in the GoTo frame. So your movie clip would
have four frames. Frame one would have a label "stop" and frame two would
have a stop action and a frame property>sound that stops the designated
sound. Frame three would have a label "play." Frame four would have a stop
action and a frame property>sound that starts the designated sound. Put
this Movie Clip in the main timeline, making sure it stays available (give
it its own layer). Give it the instance name "sound."
Assign the button instance these actions:
On (Rollover)
Tell Target (target: /sound)
Go to and Play (frame label: play)
End Tell Target
End On
On (Rollout)
TellTarget (target: /sound)
Go to and Play (frame label: stop)
End TellTarget
End On
Marc Hoffman
marc
Flash3 Portfolio: <http://www.dartfrogmedia.com/sampler>, featured
in Flash 3 Web Animation, by Ken Milburn.
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
FLASH: sound problem, Anil Hamal
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

