EndPoint.constant

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

endPoint_src.constant

Description

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.

Example

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