Flasher Archive

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


Subject: Re: FLASH: Passing variables from a movie clip
From: Randy Kato
Date: Wed, 21 Jun 2000 20:48:19 +0100

Flash,

You answered your own question. You need to use a global variable, just
put "/:" (slash colon) in front of the variable name wherever you
reference it to make it global, so...

Set Variable: "/:stopfilm" = "True"

and...

If (/:stopfilm = True)
Stop
End If

Or, you could also access the local variable in that movie clip by using
the proper path. More on this stuff at
http://www.macromedia.com/support/flash/ts/documents/varpath.htm

HTH,
Randy


Flash Casey wrote:

> im trying to pass a variable from a movie clip to the
> main scene and its not working?
>
> In my movie clip I set a variable
>
> Set Variable: "stopfilm" = "True"
>
> then in my main i use an if statement.
>
> If (stopfilm = True)
> Stop
> End If
>
> Anyone know why? DO i need to reference the movie clip
> or declare variable in main? is there global and local
> variables?

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.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
  FLASH: Passing variables from a movie cl, Flash Casey

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