Here is some example flex code that doesn't work:
var myObject:MyObject = new MyObject();
var subObject:SubObject = new SubObject();
myObject.sub = subObject;
service.myFunction(myObject);
Here is my workaround:
var myObject:MyObject = new MyObject();
var subObject:SubObject = new SubObject();
myObject.sub = new SubObject();
myObject.sub.vara = subObject.vara;
myObject.sub.varb = subObject.varb;
...
service.myFunction (myObject);
I'd rather not have to manually create an object on the object and then manually copy over each of the variables. Is there a better way around this? Perhaps a setting on the RemoteObject?
--Josh
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

