Hi, Probably IE is caching the result. Try sending a random parameter using Math.random() in HTTP service.
Cheers, Saagar Shetty ----- Original Message ---- From: sailorsea21 <[EMAIL PROTECTED]> To: [email protected] Sent: Wednesday, 22 October, 2008 7:10:26 PM Subject: [flexcoders] sailorsea21 - Does anyone know why this code works with Firefox but not with IE? Hey everyone, I populate my chart from a MySQL database. My php script retrieves the data and then converts it into XML for my flex chart. I needed to have the chart refreshed every 30sec without refreshing the entire page. I got a script working perfectly for Firefox. Every 30sec the chart updates but in Internet explorer, it will only update every hour or so... Is there a fix or is this a know IE bug? This is the script: <mx:Script> <![CDATA[ import mx.collections. ArrayCollection; import mx.controls. Alert; import mx.rpc.events. FaultEvent; import mx.rpc.events. ResultEvent; [Bindable] private var myxmldata:ArrayColl ection = new ArrayCollection; [Bindable] private var xmlFeed:XML; private function xmlResultHandler( event:ResultEven t):void { myxmldata.removeAll () ; xmlFeed = event.result as XML; for each(var ourxml:XML in xmlFeed.elements( ) ) myxmldata.addItem (ourxml); } private function xmlFaultHandler( event:FaultEvent ):void { var faultMessage: String = "Could not connect with XML file"; Alert.show(faultMes sage, "Error opening file"); } public function initTimer(): void { var myTimer:Timer = new Timer(30000) ; myTimer.addEventLis tener(TimerEvent .TIMER, updateData); myTimer.start( ); } private function updateData(event: TimerEvent) :void { data.send(); } ]]> </mx:Script> Thanks everyone! -David Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

