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();