I tried your code. The ComboBox got populated. Maybe an OS Update? The Player doesn't have much date-related code and relies on the OS. Make sure the method is getting called.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Forsberg Sent: Friday, February 29, 2008 7:30 AM To: [email protected] Subject: [flexcoders] Leap Year Issue in Flex? I have an application where I created an array of times to populate a combobox. The code has been working well for 6 months. Lo and behold, today the combobox isn't populated. All I can come up with is that the leap year is confusing Flex. Here is the code: public function createTimeArray():void{ var millisecondsPerMinute:int = 1000 * 60; var currentDate:Date = new Date(); var year:int = currentDate.getFullYear(); var month:int = currentDate.getMonth(); var day:int = currentDate.getDate(); var startTimeDate:Date = new Date (year,month,day,5,0); var i:int for(i = 0;i<102;i++){ var myObj:Object = new Object(); myObj.label = String(startTimeDate); myObj.data = String(startTimeDate); ta.addItem(myObj); startTimeDate.setTime(startTimeDate.getTime() + (10 * millisecondsPerMinute)); } } Is there patch that I may have missed? Thanks. Mark F.

