Flasher Archive

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


Subject: Re: FLASH: variable question
From: Helen Triolo
Date: Wed, 10 May 2000 02:32:21 +0100

Robert Bleeker wrote:
>
> Hi Ilia,
>
> Best way I find is to create a completely empty MovieClip and call it
> "global", then place it on your main timeline ( I usually place it slightly
> above the stage so you can see the little white dot). Make sure it is in its
> own layer and available throughout your movie.
>
> Now you can put variables into that MC from anywhere by simply using:
>
> Set Variable "/global:myVariable"
>
> and when ever you want to read the variable again simple:
>
> if (/global:myVariable)
> blah blah....
>
> I use the global MC so I can reset the variable when needed.

Robert,

Just curious about why you'd use a separate movie clip instead of just
/myvariable, where myvariable is of course on the main timeline and
therefore global. Your answers are always right on, so I wondered what
I'm not seeing about this one...

Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-technica [dot] com � 301-424-6037
----------------------------------------

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: variable question, Robert Bleeker

Replies
  Re: FLASH: variable question, Robert Bleeker

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