Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: sound on/off
From: Matthew Buchanan
Date: Mon, 29 May 2000 22:21:31 +0100


> What's the best way to make an on/off button, in a flash movie?
> I discovered the 'stop all sounds' action, but how to turn it on again?

Make a movie clip which has an "Off" button in the first frame,
and an "On" button in the second frame. Add your soundtrack to
the first frame, plus a "Stop" action, and give the "Off" button
these actions:

On Release
Stop All Sounds
Go to and Stop frame 2
End On

On the second frame, give the "On" button these actions:

On Release
Go to and Play frame 1
End On

The soundtrack will play until you click the "Off" button,
which will stop the sounds and show the "On" button. When
"On" is clicked, the movie clip will return to the first frame
and the soundtrack will play again...

Matt


Matthew Buchanan http://www.webmedia.co.nz 649.377.7910


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]