Hi all,

I am going bananas with this problem. (Sorry always wanted to say
that) Anyway, here is the issue:

I have 3 CFCs on my Server (Lender, LenderLocation,
LenderLocationContact) which are carbons of classes built in my
AS3/Flex 2 application of the same name.

Now, I invoke a CFC with an id number to return the Lender I need from
Coldfusion. That works perfectly and a CFDUMP confirms that all the
data is structured exactly as it should be.

For example, each Lender has generic properties and also has an
ArrayCollection called lenderlocations which is an array of my
LenderLocation objects. The CFC also returns it the same way (albeit
as an Array. But, even an 'event.result.lenderlocations as
ArrayCollection' does nothing and returns null)

The problem is when I get the data back into Flex, I hit a brick wall.

Let's say I map the result (in my onResult) as such: 
myLenderClassInstance = event.result as Lender;

Nothing gets populated by AS3 even though the object being returned
has all the same properties (same names) and datatypes as the AS3
class I am targeting. 

I have tried examining the Sample Phone app by Ben Forta but just
can't seem to find my problem.

Could someone be of some assistance? I would appreciate it.

Thanks so much.
-LIR






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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

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