Adobe Extending Flash Professional CS5 Uživatelský manuál Strana 105

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 565
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 104
83
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.close()
Availability
Flash MX 2004.
Usage
document.close([bPromptToSaveChanges])
Parameters
bPromptToSaveChanges A Boolean value that, when set to true, causes the method to prompt the user with a dialog
box if there are unsaved changes in the document. If bPromptToSaveChanges is set to
false, the user is not prompted
to save any changed documents. The default value is true. This parameter is optional.
Returns
Nothing.
Description
Method; closes the specified document.
Example
The following example closes the current document and prompts the user with a dialog box to save changes:
fl.getDocumentDOM().close();
The following example closes the current document without saving changes:
fl.getDocumentDOM().close(false);
document.convertLinesToFills()
Availability
Flash MX 2004.
Usage
document.convertLinesToFills()
Parameters
None.
Returns
Nothing.
Description
Method; converts lines to fills on the selected objects.
Example
The following example converts the current selected lines to fills:
Zobrazit stránku 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 564 565

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

Žádné komentáře