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

  • 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 146
125
EXTENDING FLASH CS4 PROFESSIONAL
Document object
See also
document.path
document.publish()
Availability
Flash MX 2004.
Usage
document.publish()
Parameters
None.
Returns
Nothing.
Description
Method; publishes the document according to the active publish settings (File > Publish Settings). This method is
equivalent to selecting File > Publish.
Example
The following example publishes the current document:
fl.getDocumentDOM().publish();
document.publishProfiles
Availability
Flash MX 2004.
Usage
document.publishProfiles
Description
Read-only property; an array of the publish profile names for the document.
Example
The following example displays the names of the publish profiles for the document:
var myPubProfiles = fl.getDocumentDOM().publishProfiles;
for (var i=0; i < myPubProfiles.length; i++){
fl.trace(myPubProfiles[i]);
}
Zobrazit stránku 146
1 2 ... 142 143 144 145 146 147 148 149 150 151 152 ... 559 560

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

Žádné komentáře