Packageflash.net
Interfacepublic interface IDynamicPropertyWriter

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

This interface is used with the IDynamicPropertyOutput interface to control the serialization of dynamic properties of dynamic objects. To use this interface, assign an object that implements the IDynamicPropertyWriter interface to the ObjectEncoding.dynamicPropertyWriter property.

See also

IDynamicPropertyOutput
ObjectEncoding.dynamicPropertyWriter


Public Methods
 MethodDefined By
  
Writes the name and value of an IDynamicPropertyOutput object to an object with dynamic properties.
IDynamicPropertyWriter
Method Detail
writeDynamicProperties()method
public function writeDynamicProperties(obj:Object, output:IDynamicPropertyOutput):void

Language Version: ActionScript 3.0
Runtime Versions: AIR 1.0 Flash Player 9

Writes the name and value of an IDynamicPropertyOutput object to an object with dynamic properties. If ObjectEncoding.dynamicPropertyWriter is set, this method is invoked for each object with dynamic properties.

Parameters

obj:Object — The object to write to.
 
output:IDynamicPropertyOutput — The IDynamicPropertyOutput object that contains the name and value to dynamically write to the object.

See also