It seems like there are some changes from beta 3 to release in how 
Arrays are wrapped or something that is causing me problems.

I used to be able to use ArrayUtil.toArray() to make sure that my 
HTTPService results were in a format which I could loop not I cannot.  
Can anyone give a good solution and answer as to why this is the case?

Given this line:
var cols:Array = ArrayUtil.toArray(columns.lastResult.Columns.Column);

1) If I have more than one item returned then cols is an Array with one 
ArrayCollection that has all of the Column items.

2) If I have only one item returned then cols is an Array with one 
Column item.

What is the best code to use that works similar to beta 3?  I really 
like the toArray function in the past because I did not have to worry 
about if my result contained one or more items.  But it seems that I 
have lost this in the release version..yes???

Thanks for the help!

Torey Maerz






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