Flasher Archive

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


Subject: Re: FLASH: sound in Flash
From: Robert Bleeker
Date: Thu, 18 May 2000 01:55:47 +0100

Hi Gina,

A quick fix could be this:

place another keyframe in front of the sound frame and another right after
the sound frame. Call the last one "skipSound", then in the keyframe just
before the sound frame you add action:

Set variable "soundCounter"=soundCounter+1
If (soundCounter>4)
Go To and Play "skipSound"
End If

Just make sure your animation still looks alright, otherwise there are some
more complex ways.

Robert


on 18/5/00 10:20 AM, Gina Anderson at pegasusattx3 [dot] com wrote:

> Hello,
>
> 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?
>
> Thanks very much in advance.
>
> Gina Anderson


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
  Re: FLASH: sound in Flash, Gina Anderson
  Re: FLASH: sound in Flash, Gina Anderson

Replies
  FLASH: sound in Flash, Gina Anderson

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