0

I got a multidimensional array in my Main.as:

public static var intro:Object = new Object(); 
intro["item1"] = ["3"];
intro["item2"] = ["1"];

And I am trying to call it's content from a loaded SWF:

var theParent:Object;
theParent = this.parent.parent.parent as Object;
trace(theParent.intro.item1[0]);

I am receiving this error message:

ReferenceError: Error #1069: Property intro not found on Main and there is no default value.

Anyone knows what am I doing wrong? Thanks!!

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.