Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 752 Bytes

File metadata and controls

32 lines (18 loc) · 752 Bytes

document.crop()

Availability

Flash 8.

Usage

document.crop()

Parameters

None.

Returns

None.

Description

Method; uses the top selected drawing object to crop all selected drawing objects underneath it. If no objects are selected, calling this method results in an error and the script breaks at that point.

Example

The following example crops the currently selected objects:
fl.getDocumentDOM().crop();

See also

document.deleteEnvelope(), document.intersect(), document.punch(), document.union(), shape.isDrawingObject