|
|
document.importSWF()
AvailabilityFlash
MX 2004.
Usagedocument.importSWF(fileURI)
Parameters- fileURI
- A string, expressed as a file:/// URI, that specifies the
file for the SWF file to import.
DescriptionMethod;
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).
ExampleThe
following example imports the "mySwf.swf" file
from the Flash Configuration folder:
fl.getDocumentDOM().importSWF(fl.configURI+"mySwf.swf");
|