Extending Flash |
|
|
|
| Objects > Document object > document.punch() | |||
Flash 8.
document.punch()
None.
A Boolean value: true if successful; false otherwise.
Method; uses top selected drawing object to punch through all selected drawing objects underneath it. This method returns false if there are no drawing objects selected, or if any of the selected items are not drawing objects.
The following example punches through drawing objects underneath the selected drawing object:
fl.getDocumentDOM().punch();
document.crop(), document.deleteEnvelope(), document.intersect(), document.union(), shape.isDrawingObject
|
|
|
|