|
-
How are variables localized in flash ?
Lets say I have two arrays of variables (a_1 - a_5 &
b_1 - b_5), these are local to two movies (A & B) which are loaded into the same timeline - array a_? in movie A and array b_? in movie B. When I issue a Load Variables command targeting a text file are all variables (both arrays) in that timeline forwarded to the text file ? If I want to pass these arrays to two different text files (A.txt and B.txt)how do I accomplish this ? Can these vars be associated with a conditional statement, or other means, to specify which vars are passed, and to where ?
many questions...
thanks
-
Eey,
I'm not sure I understand your (entire) threat, but this is what I can tell about variables in flash:
Localization is done by _levels and by instance_names
So variables in level0 are like /:var or _level0/:var
Variables in movieclips which are in level0 are like /movieclipname:var or _level0/movieclipname:var
Variables in swf's which are for example loaded into some movieclip which is embedded in a second movieclip which is located in level12 are defined as _level12/secondmovieclipname/movieclipname:var
LTr'Z!
DamnGzM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|