MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 112

Extending flash
Table of Contents

Advertisement

document.getDataFromDocument()
Availability
Flash MX 2004.
Usage
document.getDataFromDocument( name )
Parameters
A string that specifies the name of the data to return.
name
Returns
The specified data.
Description
Method; retrieves the value of the specified data. The type returned depends on the type of
data that was stored.
Example
The following example adds an integer value of 12 to the current document and uses this
method to display the value in the Output panel:
fl.getDocumentDOM().addDataToDocument("myData", "integer", 12);
fl.trace(fl.getDocumentDOM().getDataFromDocument("myData"));
See also
,
,
document.addDataToDocument()
document.documentHasData()
document.removeDataFromDocument()
document.getElementProperty()
Availability
Flash MX 2004.
Usage
document.getElementProperty( propertyName )
Parameters
A string that specifies the name of the Element property for which to
propertyName
retrieve the value.
112
Objects

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