We are porting an application from 1.5 to 2.0 Beta 3. The app connects to a couple different web services to populate a ListView. In the 1.5 version the result from the web service is an object that I can pull data for the list view from using the result xml element names.
 
Ex: currentitem.category, currentitem.categoryid
 
But in 2.0 Beta 3 the result is interpreted by flex as an Array. currentitem = Array (@38cceb21). This causes me to index into the array to get the values.
 
Ex: currentitem[0],currentitem[1]
 
Both apps are using the exact same webservices. Do I need to somehow cast the result from the webservice to an object? Any ideas on what is causing this and how to get it so I can reference by element name in 2.0 Beta 3?
 
Thanks
Brian
__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to