122
Objects
Description
Method; imports a SWF file into the document. This method performs the same operation as
using the Import menu command to specify a SWF file. In Flash 8 and later, you can also use
document.importFile()
to import a SWF file (as well as other types of files).
Example
The following example imports the
"mySwf.swf"
file from the Flash Configuration folder:
fl.getDocumentDOM().importSWF(fl.co"mySwf.swf");
See also
document.importFile()
document.intersect()
Availability
Flash 8.
Usage
document.intersect();
Parameters
None.
Returns
A Boolean value:
true
if successful;
false
otherwise.
Description
Method; creates an intersection drawing object from all selected drawing objects. 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 creates an intersection drawing object from all selected drawing
objects.
fl.getDocumentDOM().intersect();
See also
document.crop()
,
document.deleteEnvelope()
,
document.punch()
,
document.union()
,
shape.isDrawingObject
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...