element.x

Availability

Flash CS3 Professional.

Usage

element.x

Description

Property; a float value that specifies the x value of the selected element's registration point.

Example

The following example sets the value of the specified element's registration point to 100, 200:

fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].widthx= 100;
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].y= 200;

See also

element.y