Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple question

Status
Not open for further replies.

law78

Technical User
Apr 23, 2004
78
GB
Can I get the value of a variable that is located on a different timeline?
 
Hi law78,

You can access the value of a variable from a different timeline as long as it is *earlier* in the timeline.

Corrie.
 
If you make it global to start with you can set or trace it from any timeline, even when the movie in which it was defined, is unloaded...

_global.my_var = value;

Set or trace it from anywhere...

_global.my_var = new value;
trace(_global.my_var);
 
Thanks, not sure what I was doing wrong
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top