In the result event handler for the HTTPService...

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ffej1138
Sent: Tuesday, January 24, 2006 4:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: HTTPService onLoad

yeah, so I have the following:

<mx:HTTPService url="{recsURL}" id="recsData" method="GET"
useProxy="true" showBusyCursor="true"/>

<mx:Script>
<![CDATA[
var recsURL:String="http://blah.com/blah/blah.xml";;
function getXML() {
recsData.send();
}
]]>
</mx:Script>

I then take the data in put it in a repeater.. all is fine. 

I want to be able to assign the recsData.result.XML.TAG array and
assign it to another array, lets say recsArray.

if I do this in the getXML() function, right after the .send(), then
the new array (recsArray) is blank. Presumably because the XML has not
arrived yet. Is there some way I can set this new array once the XML
has arrived?





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to