MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 99

Extending flash
Table of Contents

Advertisement

Returns
Nothing.
Description
Method; performs a distribute-to-layers operation on the current selection—equivalent to
selecting Distribute to Layers. This method displays an error if there is no selection.
Example
The following example distributes the current selection to layers:
fl.getDocumentDOM().distributeToLayers();
document.documentHasData()
Availability
Flash MX 2004.
Usage
document.documentHasData( name )
Parameters
A string that specifies the name of the data to check.
name
Returns
A Boolean value:
if the document has persistent data;
otherwise.
true
false
Description
Method; checks the document for persistent data with the specified name.
Example
The following example checks the document for persistent data with the name
"myData":
var hasData = fl.getDocumentDOM().documentHasData("myData");
See also
,
,
document.addDataToDocument()
document.getDataFromDocument()
document.removeDataFromDocument()
Document object
99

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?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents