If your resultFormat is xml or object, and there is an array in the data
returned, there will be an array in the result object.  The trick is
finding it. When you do you can assign it directly to the variable.

Do you know exactly what the httpservice is returning?  Use a result
event handler and a debugger to inspect the result object.

If result format is object, the default, then you will dot down to the
array.  If it is xml, you will use the xml api to nav to the data, then
use childNodes to return the array.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of juyalmanu
Sent: Friday, August 12, 2005 4:43 PM
To: [email protected]
Subject: [flexcoders] array question.

Hi all..
I am trying to call a httpservice to fetch some data. Basically this 
data will be in the form number of records from database. Then I want 
to populate this data "NOT" in a datagrid but in some kind of form.

Can anyone please help me with how can I assign get data from the 
httpservice results to some array variable.


thanks





--
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



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hc7hcbj/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123888381/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
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