Adobe Extending Flash Professional CS4 Uživatelský manuál Strana 122

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 121
100
EXTENDING FLASH CS4 PROFESSIONAL
Document object
document.exportPublishProfile()
Availability
Flash MX 2004.
Usage
document.exportPublishProfile(fileURI)
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the path of the XML file to which the profile is exported.
Returns
Nothing.
Description
Method; exports the currently active profile to an XML file.
Example
The following example exports the currently active profile to the file named profile.xml in the folder /Documents and
Settings/username/Desktop on the C drive:
fl.getDocumentDOM().exportPublishProfile('file:///C|/Documents and
Settings/username/Desktop/profile.xml');
See also
document.exportPublishProfileString(), document.importPublishProfile()
document.exportPublishProfileString()
Availability
Flash CS4 Professional.
Usage
document.exportPublishProfileString( [profileName] )
Parameters
profileName A string that specifies the name of the profile to export to an XML string. This parameter is optional.
Returns
An XML string.
Description
Method: returns a string that specifies, in XML format, the specified profile. If you don’t pass a value for profileName,
the current profile is exported.
Zobrazit stránku 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 559 560

Komentáře k této Příručce

Žádné komentáře