Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Need Help with Tell Target Command |
From: | Marc Hoffman |
Date: | Fri, 8 Jan 1999 05:12:53 GMT |
At 07:02 PM 1/7/99 -0800, you wrote:
> In short, I want a child movie's button loaded on level two to use a
>sound from a child movie formerly loaded on level 1 as its hit button sound.
>Is this possible?
Hi Daniel.
I share some of John C's confusion, but think I get the idea of what you
want to do. You have a sound in the movie loaded on level 1 and you want
to make it play from level 2 or some other level. you'll need to put that
sound in a frame (simplest to put it in a frame within a movie clip) in the
movie on level 1. you can't target the sound, you have to target the frame
where it occurs. let's say you put it in a movie clip that is present on
the stage of level1 movie, and you've assigned the clip an instance name of
"sound." the structure of the clip is such that it's stopped in its first
frame, which has no sound, but the sound is present in the second frame
which also has the frame label "play." There's no stop in frame 2, so if
the clip goes to frame 2 it plays the sound and goes to frame 3, which has
an action that sends it back to frame 1. Okay, that's the clip. Now, in
the movie of level2 you have a button. On the stage you assign it an
instance action. here's the action:
On MouseEvent (rollover)
Begin TellTarget (target should read: _level1/sound)
Go to and Play (frame: label: play)
End tellTarget
End MouseEvent
I know this is complex, but it's pretty basic to using Load Movie and
TellTarget. And it makes particular sense in your case, where you have a
sound (which can hog filesize) that you want to share among movies. Too
bad you can't share libraries, but Flash doesn't work that way.
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: Need Help with Tell Target Comman, Daniel Votino
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]