Document.getelementproperty(); Document.getelementtextattr() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

document.getElementProperty()

Availability
Flash MX 2004.
Usage
document.getElementProperty( propertyName )
Parameters
The name of the Element property for which to retrieve the value.
Returns
The value of the specified property. Returns
when multiple elements are selected with different property values. Returns
property is not a valid property of the selected element.
Description
Method; gets the specified
the Element object" on page 149
document.setElementProperty()
Example
The following example gets the
//elementName = the instance name of the selected object
var elementName = fl.getDocumentDOM().getElementProperty("name");

document.getElementTextAttr()

Availability
Flash MX 2004.
Usage
document.getElementTextAttr( attrName [, startIndex [, endIndex]] )
Parameters
A string that specifies the name of the
attrName
of property names and expected values, see
on page
299.
An integer that specifies the index of first character, with 0 (zero) specifying the
startIndex
first position. This parameter is optional.
An integer that specifies the index of last character. This parameter is optional.
endIndex
null
property for the current selection. See
Element
for a list of valid values. See
.
of the Element property for the current selection:
name
"Property summary for the TextAttrs object"
if the property is an indeterminate state, as
property to be returned. For a list
TextAttrs
if the
undefined
"Property summary for
Document object
93

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents