The ConstantBinding class is lightweight data-binding class that
is optimized for simple assignments of one object's constant to
another object's property.
This method is called to notify an instance of what MXML document
it belongs to, if any, and what its assigned id is in that
document, if any.
ConstantBinding
Property Detail
destination
property
protected var destination:Object
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The destination object. It is always the same
as the strand. ConstantBindings are attached to
the strand of the destination object.
destinationPropertyName
property
public var destinationPropertyName:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The name of the property on the strand that
is set when the source property changes.
document
property
protected var document:Object
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The host mxml document for the source and
destination objects. The source object
is either this document for simple bindings
like {foo} where foo is a property on
the mxml documnet, or found as document[sourceID]
for simple bindings like {someid.someproperty}
source
property
protected var source:Object
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
The source object who's property has the value we want.
sourceID
property
public var sourceID:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
If not null, the id of the mxml tag who's property
is being watched for changes.
sourcePropertyName
property
public var sourcePropertyName:String
Language Version :
ActionScript 3.0
Product Version :
FlexJS 0.0
Runtime Versions :
Flash Player 10.2, AIR 2.6
If not null, the name of a property on the
mxml document that is being watched for changes.