I need a for loop which would print from year 2000 to 2099.
[Bindable]
private var yearValue:Array
private function we():void {
var i:Number;
for(i=2000;i<=2099;i++){
yearValue = new Array(i);
}
}
<mx:ComboBox id='year' labelField="Year" dataProvider="{yearValue}">
</mx:ComboBox>
When i populate in my combox box it does not load.