Yeah, that should work. What error do you get? How did you define the class?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of ilikeflex
Sent: Friday, October 09, 2009 7:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] dynamic class | add property runtime
Hi
If i have any public dynamic class then i can add any property at run time.
Correct me if i am not correct??
But if i do the same for the RemoteObject. It does not give me error at compile
time but it gives me error at runtime.
My understanding is that i should be able to add the property at run time since
it is dynamic.
Thanks
ilikeflex