|
-
Simple variable issue
This is a simple task, but it is not working for me, thus I am forced to inquire...
-On the main timeline I can place an instance of a movie and name that instance "square"
-On the first frame of the timeline in square I can declare a variable named "cat" and assign it the value of "13"
var cat = 13;
-On the first frame of the main timeline (with the square movie instance present) I can place this code...
trace(square.cat);
And yet it will still output "undefined"
What am I doing wrong?
Thank you for your time. Best Wishes to you all,
Eric
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
|