Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 551 Bytes

File metadata and controls

32 lines (18 loc) · 551 Bytes

document.revert()

Availability

Flash MX 2004.

Usage

document.revert()

Parameters

None.

Returns

Nothing.

Description

Method; reverts the specified document to its previously saved version. This method is equivalent to selecting File >Revert.

Example

The following example reverts the current document to the previously saved version:
fl.getDocumentDOM().revert();

See also

document.canRevert(), fl.revertDocument().