Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Variable in movie clip problem |
| From: | John Croteau |
| Date: | Tue, 21 Sep 1999 17:54:06 +0100 |
Hi Dreas,
> The following ain't working:
> Begin Tell Target ("/dont_click_here")
> Set Variable: text_puffin_surprise_text1 =
> _level0/:text_puffin_surprise_text1
> End Tell Target
This will copy your variable to the MC:
Set Variable: /dont_click_here:text_puffin_surprise_text1 =
/:text_puffin_surprise_text1
These are good reasons to copy variables:
1) The old timeline is to be deleted.
2) You need a copy on another tomeline for load variables.
3) To make code shorter and cleaner.
Otherwise it is best just to address the variable where it exists.
Generally refer to theroot of a movie with / and not _level0.
Use shorter variable names, though you want them desciptive you don't
want them so long.
More on variables and Actionscript -->
http://www.FlashBible.com/members/
--
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]

