Document object
105
Example
The following example publishes the current document:
fl.getDocumentDOM().publish();
document.publishProfiles
Availability
Flash MX 2004.
Usage
document.publishProfiles
Description
Read-only property; an array of the publish profile names for the document.
Example
The following example displays the names of the publish profiles for the document:
var myPubProfiles = fl.getDocumentDOM().publishProfiles;
for (var i=0; i < myPubProfiles.length; i++){
fl.trace(myPubProfiles[i]);
}
document.removeDataFromDocument()
Availability
Flash MX 2004.
Usage
document.removeDataFromDocument(
name
)
Parameters
name
A string that specifies the name of the data to remove.
Returns
Nothing.
Description
Method; removes persistent data with the specified name that has been attached to the document.
See
document.addDataToDocument()
,
document.getDataFromDocument()
, and
document.documentHasData()
.
Example
The following example removes from the document the persistent data named
"myData"
:
fl.getDocumentDOM().removeDataFromDocument("myData");
Summary of Contents for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Page 1: ...Flash JavaScript Dictionary ...
Page 16: ...16 Contents ...
Page 40: ...40 Chapter 2 Top level functions ...
Page 368: ...368 Chapter 3 Objects ...