I'm trying to remember how remoting accesses class members when
translating and object for serialization over AMF
I know it can access the private variables of a class, but will it use
get/set methods if they are present, for example :
class com.somecompany.domain
{
private var eventId:Number;
private var title:String;
public function get EventId():Number
{
return eventId;
}
public function set EventId(eventId:Number):Void
{
this.eventId = eventId;
}
public function get Title():String
{
return this.title;
}
public function set Title(title:String):Void
{
this.title = title;
}
}
Will the remoting library in flash use the get / set methods here if
I've defined Title and EventId on the remote object or will it bypass
those methods and attempt to use the private variables eventId and title
?
Cheers
Grant
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com