
125
EXTENDING FLASH CS4 PROFESSIONAL
Document object
See also
document.path
document.publish()
Availability
Flash MX 2004.
Usage
document.publish()
Parameters
None.
Returns
Nothing.
Description
Method; publishes the document according to the active publish settings (File > Publish Settings). This method is
equivalent to selecting File > Publish.
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]);
}
Comentários a estes Manuais