Don't do that.
Instead do: ...resultFormat="e4x" result="init1(event)"> private function init1(oEvent:ResultEvent):void var xmlResult:XML = XML(oEvent.result) trace(xmlResult.toXMString()) ... If you need to relate a result to a specific call, look at AsyncToken and the ACT pattern. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of wifi19 Sent: Thursday, February 08, 2007 3:47 PM To: [email protected] Subject: [flexcoders] http service hie. when i use httpservice to request xml i want to use .lastresult and i may be use a index to my xml file or à fisrt result command. can you help me my httpservice <mx:HTTPService id="userRequest" url="http://xxx.dyndns.org/livre/request.php <http://xxx.dyndns.org/livre/request.php> " useProxy="false" method="POST" result="init1()"> thanks !

