MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 113

Extending flash
Table of Contents

Advertisement

Returns
The value of the specified property. Returns
if the property is an indeterminate state, as
null
when multiple elements are selected with different property values. Returns
if the
undefined
property is not a valid property of the selected element.
Description
Method; gets the specified
property for the current selection. For a list of acceptable
Element
values, see
"Property summary for the Element object" on page
193.
Example
The following example gets the
of the Element property for the current selection:
name
// 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
A string that specifies the name of the
property to be returned. For a
attrName
TextAttrs
list of property names and expected values, see
"Property summary for the TextAttrs object"
on page
456.
An integer that specifies the index of first character, with 0 (zero) specifying
startIndex
the first position. This parameter is optional.
An integer that specifies the index of last character. This parameter is optional.
endIndex
Document object
113

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents