Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
you have it set in mxml, chartXML.lasResult - Original Message From: Brad Bueche <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 1:29:36 PM Subject: RE: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script Thanks! T

RE: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Brad Bueche
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, February 12, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get nul

Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
ubject: Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener( ResultEvent. RESUL

Re: [flexcoders] XML, HTTPSerivce, & Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener(ResultEvent.RESULT,onResult); } private function onResult(event:ResultEvent):void{ //u get event.result }