-
Senior Member
targeting variables
how can I target a variable from a timeline other than the one it was initilised in. for example, if I have a variable on my main timeline, and I want that variable to change when a mc timeline reaches a certian frame, can I put something like code: _root.variableName = value;
on the mc timeline?
thanks
-
you canonly do that if you want to change the variable.
lets say you have a text area in a seperate MC and every 10 frames you want it to change.
you have the text area set to _root.variablename as it's variable.
now on every 10 frame of your other time line or mc you can say
_root.variablename = "blah...";
then again you can do alot of these things using set variable.
I hope this helps, I'm not sure exactly what you were wanting to know.
-
Senior Member
-
Senior Member
that's just what I wanted to know, thanks
-
no problem happy to help.
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
|