Adobe Extending Flash Professional CS4 Manuale Utente Pagina 266

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 265
244
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Parameters
bPromptIfNeeded A Boolean value that is true (default) if you want the user to be prompted to save any modified
documents. Set this parameter to
false if you do not want the user to be prompted to save modified documents. In
the latter case, any modifications in open documents will be discarded and the application will exit immediately.
Although it is useful for batch processing, use this method with caution. This parameter is optional.
Returns
Nothing.
Description
Method; quits Flash, prompting the user to save any changed documents.
Example
The following example illustrates quitting with and without asking to save modified documents:
// Quit with prompt to save any modified documents.
fl.quit();
fl.quit(true); // True is optional.
// Quit without saving any files.
fl.quit(false);
fl.reloadEffects()
Availability
Flash MX 2004.
Usage
fl.reloadEffects()
Parameters
None.
Returns
Nothing.
Description
Method; reloads all effects descriptors defined in the user’s Configuration Effects folder. This permits you to rapidly
change the scripts during development, and it provides a mechanism to improve the effects without relaunching the
application. This method works best if used in a command placed in the Commands folder.
Example
The following example is a one-line script that you can place in the Commands folder. When you need to reload effects,
go to the Commands menu and execute the script.
fl.reloadEffects();
Vedere la pagina 265
1 2 ... 261 262 263 264 265 266 267 268 269 270 271 ... 559 560

Commenti su questo manuale

Nessun commento