I have two questions. One is why I get an error on a trace. The other will be in a different thread. Here is the code:
"FSL" is a class that has all the language properties. There is a "spanishYesNo" to match the "englishYesNo" for example. Here is the error that the trace statement has:
It doesn't make much sense to me that the immediately preceding statement isn't visible - the variable to be traced is defined in the immediately prior statement. The error also occurs if you have literals put into the array.
This is a compile time error found by doing a "project" "clean".
public var tempArray:Array = FSL.getEnglishYesNo();
trace(tempArray);
trace(tempArray);
1120: Access of undefined property tempArray.
This is a compile time error found by doing a "project" "clean".
Comment