I believe what you're wanting to do is call a CFC method, and have it return one or more CFC objects to you flash movie, right?  I don't believe you can do this.  I'm pretty sure you can only return non-object data to Flash.  In other words, strings, numbers, dates, booleans, arrays, structs and recordsets.
 
If you have a backend system thats build to deal with arrays of CFCs, then you can still you that backend, you just have to write a facade CFC to place between it and the backend.  So the flash calls the facade, the facade calls the backend and gets an array of CFCs, which it converts to an array of structs, a recordset, whatever, and then returns that to the flash movie.
 
barneyb
 
  -----Original Message-----
From: Ruyle, David [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 3:18 PM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Flash and CFCs

I have created a CFC that is called via Flash. The CFC returns an array of other CFC objects and the associated methods but Flash cannot access those objects and their methods. Could anyone tell me what the easiest solution would be to make this happen? Thanks in advance for any help.

 

-David Ruyle

 

 

----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
[EMAIL PROTECTED]

Littler Mendelson, P.C.
http://www.littler.com


Reply via email to