The default return type from a web service call is object(). If you cast this to XML, you should be able to get the same funtionality.
-TH --- In [email protected], "Brian McPheeters" <[EMAIL PROTECTED]> wrote: > > 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 > ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/

