User Guide
Document object 113
Returns
The value of the specified property. Returns null if the property is an indeterminate state, as
when multiple elements are selected with different property values. Returns
undefined if the
property is not a valid property of the selected element.
Description
Method; gets the specified Element property for the current selection. For a list of acceptable
values, see “Property summary for the Element object” on page 193.
Example
The following example gets the name of the Element property for the current selection:
// elementName = the instance name of the selected object.
var elementName = fl.getDocumentDOM().getElementProperty("name");
See also
document.setElementProperty()
document.getElementTextAttr()
Availability
Flash MX 2004.
Usage
document.getElementTextAttr( attrName [, startIndex [, endIndex]] )
Parameters
attrName A string that specifies the name of the TextAttrs property to be returned. For a
list of property names and expected values, see “Property summary for the TextAttrs object”
on page 456.
startIndex An integer that specifies the index of first character, with 0 (zero) specifying
the first position. This parameter is optional.
endIndex An integer that specifies the index of last character. This parameter is optional.