Package | flash.net |
Interface | public interface IDynamicPropertyOutput |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
ObjectEncoding.dynamicPropertyWriter
property.
Related API Elements
Public Methods
Method | Defined By | ||
---|---|---|---|
Adds a dynamic property to the binary output of a serialized object. | IDynamicPropertyOutput |
Method Detail
writeDynamicProperty | () | method |
public function writeDynamicProperty(name:String, value:*):void
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Lite 4 |
Adds a dynamic property to the binary output of a serialized object.
When the object is subsequently read (using a method such as
readObject
), it contains the new property.
You can use this method
to exclude properties of dynamic objects from serialization; to write values
to properties of dynamic objects; or to create new properties
for dynamic objects.
Parameters
name:String — The name of the property. You can use this parameter either to specify
the name of an existing property of the dynamic object or to create a
new property.
| |
value:* — The value to write to the specified property.
|
Related API Elements
Mon Nov 28 2011, 06:48 AM -08:00