Flasher Archive

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


Subject: Re: FLASH: Dynamically name MCs for Tell Target
From: Nathan Dicken
Date: Thu, 6 Jul 2000 22:06:28 +0100

Hal,

Assuming that your crayons are named "crayon1", "crayon2", etc... Try this
on the "off" button (in the frame labeled "off"):

On (Press)
Begin Tell Target ("/"&/:prevCrayon)
Go to and Stop ("off")
End Tell Target
Set Variable: "/:prevCrayon" = _name
Go to and Stop ("on")
End On

On the "on" button/frame you could just have the following...

On (Press)
Go to and Stop ("off")
End On

hope that helps...
Nathan

-------------------------
Nathan Dicken
Game Developer
Boxerjam Inc.
nathandatboxerjam [dot] com
www.boxerjam.com



At 11:36 AM 7/6/00 -0700, you wrote:
>Jeez, I thought this would be easy but I'm having trouble with the syntax.
>
>I'm making a coloring book in Flash. The user has 18 crayons to choose
>from. Each crayon is an MC with two frames: up and down. When the crayon
>is selected, it is up. When the user selects another crayon, I want
>whatever crayon is currently up to go to frame 1 (down).
>
>What I need is for currentcrayon to set itself as a variable, so that I can
>then target "currentcrayon" (whichever crayon it may be) to Go to Frame 1.
>But I'm messing up the syntax and can't get it to work.
>
>Anyone have a tutorial, or can just scribble out the code on the back of a
>napkin, I'd be most appreciative.
>
>Thenkew,
>
>
>
>--------------------------
>Hal Medrano
>New Media Group
>U S WEST Creative Services
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Dynamically name MCs for Tell, Nathan Dicken

Replies
  FLASH: Dynamically name MCs for Tell Tar, Hal Medrano

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