Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > Data binding classes > EndPoint.constant | |||
Flash Player 6 (6.0.79.0).
Flash MX Professional 2004.
endPoint_src.constant
Property; a constant value assigned to an EndPoint object. This property can be applied only to EndPoint objects that are the source, not the destination, of a binding between components. The value can be of any data type that is compatible with the destination of the binding. If this property is specified, all other EndPoint properties for the specified EndPoint object are ignored.
In this example, the string constant value "hello" is assigned to an EndPoint object's constant property:
var sourceEndPoint = new mx.data.binding.EndPoint(); sourceEndPoint.constant = "hello";
Flash CS3