Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Stop/start button for all sounds and animations |
| From: | ``-���-�� |
| Date: | Thu, 8 Jun 2000 06:17:37 +0100 |
Hello Joseph
> My question is: how do I create one button to stop/start all background
> animations and all sounds? The logo and background animations are movie
> clip objects, and the sounds are all activated by buttons, residing in
> button objects.
you would have to create a button
that applies a stop action to the main timeline,
as well as two "tell target" actions which stop the animations
of the logo and the background ( clips need appropriate instance names )
Begin Tell Target ("logo")
Stop
End Tell Target
Begin Tell Target ("background")
Stop
End Tell Target
> I figured that a dual state button would be needed,
> something that would be a play button like (>) when all is stopped, and
> a stop button ([]) when all animations and sound are active. But what
> the ActionScript for something like that would be has me puzzled.
you create a movieclip
having the stop button reside on the first frame and the play button on the
second
( use a stop action for both frames so it doesn`t loop ) ...
an action you would use for this purpose could look like this :
On (Release)
Go to and Stop (2)
Begin Tell Target ("../logo")
Stop
End Tell Target
Begin Tell Target ("../background")
Stop
End Tell Target
Begin Tell Target ("../") ---- > targetting the
main timeline
Stop
End Tell Target
End On
if you have still questions
I can make you a quick fla to showcase it.
good luck
dom
-=Visuality=-
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 15 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
Re: FLASH: Stop/start button for all sou, Joseph Balderson
Replies
FLASH: Stop/start button for all sounds , Joseph Balderson
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

