Flasher Archive

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


Subject: Re: FLASH: can we toggle the sound on the button press event in flash
From: Marc Hoffman, Poison Dart Frog Media
Date: Tue, 16 May 2000 20:08:28 +0100

At 12:44 AM 5/16/2000 , you wrote:

> > I had a query that I waned to toggle sound on a button press event.
> Like for click one it will play "sound A" and on click 2 "sound B" and
> like wise . How can I go about to get this application done in flash.
> >

Spread out the sounds in a movie clip. Starting with the beginning of the
movie clip, every few frames have a Stop action, followed by a keyframe
with a sound in it (begin with a few blank frames and a Stop action). Your
button can be on the main timeline and can use TellTarget to make the movie
clip Play, or it can be put in its own layer right in the movie clip, in
which case its action is simply Play. Don't put a Stop after the last sound
-- when the clip finishes playing the last sound, it will loop back to the
first Stop action and will be ready to play a sound next time the playback
head is told to Play again.

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 helpatchinwag [dot] com


Replies
  FLASH: can we toggle the sound on the bu, Manish Buttan
  Re: FLASH: can we toggle the sound on th, Tai

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