I have an AS3 class which contains the following property:
protected var _dayButtons:Array = new Array();
In JavaScript this becomes:
"protected var",{ _dayButtons/*:Array*/ :function(){return( new
Array());}},
Problem is that when my code tries to do:
this._dayButtons.push(btn);
I get:
this._dayButtons.push is not a function
Shouldn't _dayButtons be a property instead of a function?
Thanks.
-James