Extending Flash |
|
|
|
| Objects > Document object > document.crop() | |||
Flash 8.
document.crop()
None.
A Boolean value: true if successful; false otherwise.
Method; uses the top selected drawing object to crop 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 crops the currently selected objects:
fl.getDocumentDOM().crop();
document.deleteEnvelope(), document.intersect(), document.punch(), document.union(), shape.isDrawingObject
|
|
|
|