1st, thanks to all who have helped guide this OOPS challenged person!
2nd, let me explain what works for those other lost souls...

Directory Structure:
  VO = Actionscript Classes
  CF =  My ColdFusion Business Rules (mostly SQL statements)
 CFC = Coldfusion value objects Matching my VO

In the following example, I have a USERS class that I am returning from CF to 
FLEX

VO/Users.as  --  has to have the following line pointing to the CFC
        [RemoteClass(alias="Lumber.CFC.Users")]  

CFC/Users.cfc  -- has to have alias pointing to itself
       <cfcomponent output="false" alias="Lumber.CFC.Users">

CF/login.cfc  -- return type points to CFC and you have to create the component
        <cffunction access="remote" name="processLogin" output="false" 
returnType="Lumber.CFC.Users">
...
...
myUser = createObject("component", "Lumber.CFC.Users").init();
...
...
return myUser


Life is getting a LITTLE less confusing!
Bruce







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