Hey Friends,
If I set a var outside a function, the code in that function would still see it, right? Should code like this work? I am trying to get code set in a function to be visible globally…
var myArray:Array = new Array();
function myArray() {
myArray[0] = "hey dude";
}
trace(myArray[0]);