Example
See
element.getPersistentData()
element.height
Availability
Flash MX 2004.
Usage
element.height
Description
Property; a float value that specifies the height of the element in pixels.
Do not use this property to resize a text field. Instead, select the text field and use
document.setTextRectangle()
Example
The following example sets the height of the specified element to 100:
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].height =
100;
element.layer
Availability
Flash 8.
Usage
element.layer
Description
Read-only property; represents the
Example
The following example stores the Layer object that contains the element in the
variable:
var theLayer = element.layer;
.
. Using this property with a text field scales the text.
Layer object
on which the element is located.
theLayer
Element object
197
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?