Using the Time function works when running application locally.   See my code
below.   However when I publish to my server, the application freezes.  
What is the difference between running the code through Flash Builder and
running it from the server (Bin Release folder)?   And yes, the
convertSQLDate() function is working.

                        public function getMin(ac:ArrayCollection):void
                        {
                                                
                                ac2 = ac.toArray();
                                
                                var mxm2:Date = new Date();
                                var tnum:Number = mxm2.time;

                                for (var i2:int=0; i2<ac.length; i2++) {
                                        
                                        if(ac2[i2].eventDate){
                                                var tempDate2:Number = 
convertSQLDate(ac2[i2].eventDate).time;
                                                trace("date is " + tempDate2);
                                        }
                                 }
                        } 





--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Determining-Maximum-Date-from-Array-tp12434p12711.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to