Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Passing variables from a movie clip |
From: | Cheri Harder |
Date: | Wed, 21 Jun 2000 20:42:43 +0100 |
Yes, the variables are local to wherever they are set. You can either
change it to Set Variable: "/:stopfilm" = True (which sets the variable on
the main timeline) or you can refer to it from the main timeline by using
the path to it, like so:
If(/mcInstanceName:stopfilm = True)
There is no way to set a variable to be "global" but I usually set them all
on the main timeline, or within a movie clip that always exists.
HTH!
~~~~Cheri Harder~~~~~
charderawsolution [dot] com
Advantage Web Solution
www.awsolution.com
----- Original Message -----
From: "Flash Casey" <flashcaseyyahoo [dot] com>
> 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?
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 helpchinwag [dot] com
Replies
FLASH: Passing variables from a movie cl, Flash Casey
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]