User Guide

Document object 131
Description
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.
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
document.removeDataFromDocument()
Availability
Flash MX 2004.
Usage
document.removeDataFromDocument( name )
Parameters
name A string that specifies the name of the data to remove.
Returns
Nothing.
Description
Method; removes persistent data with the specified name that has been attached to the
document.
Example
The following example removes from the document the persistent data named "myData":
fl.getDocumentDOM().removeDataFromDocument("myData");
See also
document.addDataToDocument(), document.documentHasData(),
document.getDataFromDocument()