Flex mobile while loop silently failing (halp!)
Here is my code - fairly simple, just trying to add years to an array to use as a data object later.
public var yearsvar:Array;
private function createDates():void
{
var x:int = new int(1);
var curYear:Date = new Date();
var z:int = new int(curYear.fullYear);
var i:int = new int(z-90);
while (i < z)
{
yearsvar
i++;
x++;
}
year_dd.dataProvider = new ArrayCollection(yearsvar);
}
Using some debugging i've narrowed it down to something to do with the yearsvar
