Thanks for answering my question. I read both of these links before. Despite the fact they mention how data types are converted, how arrays are handled in conversions, how to hide attributes, how to register a class, how getters and setters effect items I can't find where it states what you did. So thank you for confirming that.
Thanks Jeff -----Original Message----- From: Abdul Qabiz [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 9:36 PM To: [email protected] Subject: RE: [flexcoders] Remote object mapping properties Hi, > My question is does the variable in the actionScript class have to be the same name as > the variable in the java class that it is mapping to. Yes....If you want to map an ActionScript class to a typed java class on server, you need to have following things: - Your ActionScript class should have same name as Java class has. - Property name in ActionScript class should match with property/getter names in Java class. - You need to register your class using Object.registerClass("com.Product", com.Product); Assuming com.Product is java class on server and also in AS.. - Your ActionScript class cannot use properties that are declared as getter/setter properties using the get and set keywords; the properties must be real variables. For more info, see this page: http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w whelp.htm?href=00002246.htm And this page: http://livedocs.macromedia.com/flex/15/flex_docs_en/00000778.htm Hope that helps... -abdul ________________________________ From: Jeff Krueger [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 6:10 AM To: [email protected] Subject: [flexcoders] Remote object mapping properties Sorry if this is an obvious one, but I can't find in any documentation that confirms what I am finding. My question is does the variable in the actionScript class have to be the same name as the variable in the java class that it is mapping to. From what I am seeing it does. Can anyone confirm that? Thanks Jeff ________________________________ 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] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . Yahoo! Groups Links 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/

