Any ideas as to why this doesn’t work? I get the following error: Variable myArray is not defined.
var myArray:Array = [“stuff”, “things”, “words”, “nonsense”];
var theArrayYouWant:Array = getDefinitionByName(“myArray”) as Array;
trace(theArrayYouWant);
(this is a very simplified version of my issue);