Document.publishprofiles; Document.removedatafromdocument() - 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

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
A string that specifies the name of the data to remove.
name
Returns
Nothing.
Description
Method; removes persistent data with the specified name that has been attached to the document.
See
document.addDataToDocument()
document.documentHasData()
Example
The following example removes from the document the persistent data named
fl.getDocumentDOM().removeDataFromDocument("myData");
,
document.getDataFromDocument()
.
, and
:
"myData"
Document object
105

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?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents