MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 121

Extending flash
Table of Contents

Advertisement

document.importPublishProfile()
Availability
Flash MX 2004.
Usage
document.importPublishProfile( fileURI )
Parameters
A string, expressed as a file:/// URI, that specifies the path of the XML file
fileURI
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
A string, expressed as a file:/// URI, that specifies the file for the SWF file to
fileURI
import.
Returns
Nothing.
Document object
121

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents