Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Marc . . . Tell Targets for Audio |
From: | Marc Hoffman |
Date: | Sun, 10 Jan 1999 07:16:43 GMT |
At 10:52 PM 1/9/99 -0800, you wrote:
>Marc, thanx for your input. I visited the audio playground. I am
>interested in how you got to get the parrot to speak "random" greetings.
>Are they really random or is there a definite pattern I was unable to
>detect?
>
>~Daniel
>
John C. is the expert on this. Yes, they are random. It involves creating
a bunch of movie clips. Each is two frames. Frame 1 has a Stop action.
Frame 2 has a tellTarget to make the audio movie play one of its sounds (I
use labeled frames in the audio movie for targeting purposes). Each clip
targets a different sound to play. These clips are inserted in sequential
keyframes in another clip. They are each given the same instance name
(let's call it "playsound"). Their parent clip loops indefinitely, sits in
the main timeline, and has an instance name (call it "parent"). The button
to create the sound is on the main timeline. It has an action as follows:
On MouseEvent (press)
Begin Tell Target
target: /parent/playsound
GoTo
next frame
End Tell Target
End MouseEvent
When the button is clicked, it targets whatever "playsound" movie clip is
current in the "parent" clip. If a user had perfect timing, of course, the
effect would not be random. Since no one can time their clicks within a
fraction of a second, the result is effectively random.
Marc Hoffman
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
marcdartfrogmedia [dot] com (mailto:marcdartfrogmedia [dot] com)
View my Flash3 work: <http://www.jps.net/dartfrog/sampler>.
Play a virtual marimba: <www.dartfrogmedia.com>.
Read about Flash: <http://www.jps.net/dartfrog/sampler/flashinf>
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
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-managershocker [dot] com
Replies
FLASH: Silly question?, Lena Bj�rklund
Replies
Re: FLASH: Marc . . . Tell Targets for , Daniel Votino
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]