MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 131

Extending flash
Table of Contents

Advertisement

Description
Method; uses top selected drawing object to punch through all selected drawing objects
underneath it. This method returns
if there are no drawing objects selected, or if any of
false
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
A string that specifies the name of the data to remove.
name
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()
Document object
131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents