Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 799 Bytes

File metadata and controls

34 lines (18 loc) · 799 Bytes

document.punch()

Availability

Flash 8.

Usage

document.punch()

Parameters

None.

Returns

None.

Description

Method; uses the top selected drawing object to punch through 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 punches through drawing objects underneath the selected drawing object:

fl.getDocumentDOM().punch();

See also

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