I have not tried the code, but from what I read it seems that all you would need to do is put the line of code below in the begining of your app. Like in the "initialize" event of the main mxml file.
mx.utils.ClassUtil.FLEX_CLASS_FIELD = "_REMOTECLASS"; Renaun --- In [email protected], "Simeon Bateman" <[EMAIL PROTECTED]> wrote: > > Thanks for your response. I guess my real question is where am I > supposed to set hte FLEX_CLASS_FIELD at? Just in my VO in as? Its > just not clear to me. > > Thanks. > simeon > > --- In [email protected], "Renaun Erickson" <[EMAIL PROTECTED]> wrote: > > > > mx.utils.ClassUtil.FLEX_CLASS_FIELD is a static field. And the value > > is "_remoteClass" the article is pointing out that you need to set it > > to "_REMOTECLASS" because of how coldfusion sends back properties (in > > all uppercase). So like the article notes your AS Objects will have > > to have all UPPER class attribute names. > > > > Renaun > > > > --- In [email protected], "Simeon Bateman" <[EMAIL PROTECTED]> > > wrote: > > > > > > Hey i am working on returning custom objects from coldfusion to my > > > flex application. I found a good example of this here > > > > > > > > > http://www.richinternet.de/blog/index.cfm?mode=entry&entry=74BA931D-C3DA-FDE0-C7959146205942DA > > > > > > However in the notes at the bottom it says: > > > > > > Edit: if you want to return CFC instances rather than structs then > > > you'll have to change the static property FLEX_CLASS_FIELD of the > > > mx.utils.ClassUtil class to "_REMOTECLASS". > > > > > > But I cant figure out where/how to make this change? I have googled > > > and searched the docs, and I cant find any examples of using this > class. > > > > > > Thanks for any guidance i can get here. > > > > > > simeon > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/u8TY5A/tzNLAA/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/

