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

  • 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 247
226
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Returns
Nothing.
Description
Method; closes the specified document.
Example
The following example illustrates two ways of closing a document.
// Closes the specified document and prompts to save changes.
fl.closeDocument(fl.documents[0]);
fl.closeDocument(fl.documents[0] , true); // Use of true is optional.
// Closes the specified document without prompting to save changes.
fl.closeDocument(fl.documents[0], false);
See also
fl.closeAll()
fl.compilerErrors
Availability
Flash CS3 Professional.
Usage
fl.compilerErrors
Description
Read-only property; a compilerErrors object, which represents the Errors panel. For information on using this
property, see
compilerErrors object.
fl.componentsPanel
Availability
Flash MX 2004.
Usage
fl.componentsPanel
Description
Read-only property; a componentsPanel object, which represents the Components panel.
Example
The following example stores a componentsPanel object in the comPanel variable:
var comPanel = fl.componentsPanel;
Zobrazit stránku 247
1 2 ... 243 244 245 246 247 248 249 250 251 252 253 ... 559 560

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

Žádné komentáře