Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Variables in timelines |
| From: | John Croteau |
| Date: | Tue, 21 Sep 1999 18:46:39 +0100 |
Hi Yan,
> Would I be correct in assuming that variables in a movie clip timeline
> cannot be passed to the main timeline.
No......
Variables in Flash are associated with a main or movie clip timeline.
All variables in Flash are available at all times as long as the
timeline they are associated with still exists.
To use a variable in another movie clip or main timeline there is no
need to pass a variable (though you can), you only need to address it
with its full path followed by a colon followed by the variable name.
path:variable.
> I've created a Movie Clip that contains two frames that show the on and
> off states of a browsee clickable button.
> When the browsee clicks the the button (turning it on) a value is added
> to a variable.
> If the browsee clicks the button again (turning it off) the same value
> is subtracted from the same variable.
It might be easier just to set the variable instead of add and
subtracting.
--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteau
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
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-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

