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