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
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers