This content has been marked as final. Show 4 replies
private var letters:Array = new Array();
when declared in the class definition you have a static array.
Init the arrays in the constructor to have them as instance props.
Thanks...is that the rule of thumb with variable set up in Classes? Should I declare them first in the definition and then initialize them in the constructor? I guess my question is if I don't initialize variables in the constructor are they precluded from being instance properties?
Datatype Array is an anomaly.
I should add: in AS2. Haven't checked AS3 yet.