I know the class SimpleXMLEncoder can encode all properties of an Object in XML. I only want some properties encoded. How can I specify which properties to encode?
+1
A:
Not 100% sure, but try adding the [Transient] metadata tag to any properties you do not want encoded.
Ex:
[Transient]
public var doNotEncodeThis:String;
maclema
2009-08-27 14:47:16
Please note, if you are using BlazeDS this will also prevent that property from being sent back to the server.
maclema
2009-08-27 14:49:46
That worked, thanks
Phil C
2009-08-28 10:32:59