Document object
121
document.importPublishProfile()
Availability
Flash MX 2004.
Usage
document.importPublishProfile(
fileURI
)
Parameters
fileURI
A string, expressed as a file:/// URI, that specifies the path of the XML file
defining the profile to import.
Returns
An integer that is the index of the imported profile in the profiles list. Returns -1 if the profile
cannot be imported.
Description
Method; imports a profile from a file.
Example
The following example imports the profile contained in the profile.xml file and displays its
index in the profiles list:
alert(fl.getDocumentDOM().importPublishProfile('file:///C|/Documents and
Settings/janeUser/Desktop/profile.xml'));
document.importSWF()
Availability
Flash MX 2004.
Usage
document.importSWF(
fileURI
)
Parameters
fileURI
A string, expressed as a file:/// URI, that specifies the file for the SWF file to
import.
Returns
Nothing.
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...