Re: Mapping an object
Martin Wood <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
i think that the AS-> Java mapping relies on the names of the properties in the actionscript object matching the getter / setter names in the java object, rather than using the actionscript methods to access properties. If you try removing the underscores from the AS properties and matching things up like : AS property JAVA accessor posx setPosx posy setPosy i think that might be it...but im not 100% certain. its worth a try :) martin Valerian wrote: > Hello, > > I've tried to map an object from as to java and i failed > i can't read any properties of the object > see : java service, monPoint.getNom() returns null > > any idea ? > > thanks, > > valerian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf