|
|
document.importPublishProfile()
AvailabilityFlash
MX 2004.
Usagedocument.importPublishProfile( fileURI )
Parameters- fileURI
- A string, expressed as a file:/// URI, that specifies the
path of the XML file defining the profile to import.
ReturnsAn
integer that is the index of the imported profile in the profiles
list. Returns ‑1 if the profile cannot be imported.
DescriptionMethod;
imports a profile from a file.
ExampleThe
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'));
|