A well known issue.  The FP is unable to differentiate between an Object
and an Array with a single element.

 

I use XML until I have full control, so I don't see this issue.

 

You can examine the result object to see what it really contains and
respond conditionally, or you can use toArray(), which is in one of the
Utils packages.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jch92592
Sent: Thursday, November 13, 2008 2:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ArrayCollection

 

All,

I am using an ArrayCollection that I populate with the results from a
ColdFusion RPC.

All works well when there is more than 1 record. When only 1 record is
returned, the data is not assigned to the ArrayCollection.

Any suggestions?

Thank you,
jh

 

Reply via email to