Oct 25, 2004 #1 law78 Technical User Joined Apr 23, 2004 Messages 78 Location GB Can I get the value of a variable that is located on a different timeline?
Oct 25, 2004 #2 CorrieLee Programmer Joined Oct 13, 2004 Messages 18 Location CA Hi law78, You can access the value of a variable from a different timeline as long as it is *earlier* in the timeline. Corrie. Upvote 0 Downvote
Hi law78, You can access the value of a variable from a different timeline as long as it is *earlier* in the timeline. Corrie.
Oct 25, 2004 #3 oldnewbie Technical User Joined Dec 6, 2000 Messages 9,142 Location CA 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); Upvote 0 Downvote
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);
Oct 26, 2004 Thread starter #4 law78 Technical User Joined Apr 23, 2004 Messages 78 Location GB Thanks, not sure what I was doing wrong Upvote 0 Downvote