Adobe Extending Flash Professional CS5 Manuale Utente Pagina 398

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 565
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 397
376
EXTENDING FLASH PROFESSIONAL
presetPanel object
Last updated 5/2/2011
Usage
presetPanel.selectItem(namePath [, bReplaceCurrentSelection [, bSelect] ])
Parameters
namePath A string that specifies the path and name of the item to select from the Motion Presets panel.
bReplaceCurrentSelection A Boolean value that specifies whether the specified item replaces any current selection
(
true) or is added to the current selection (false). This parameter is optional; the default value is true.
bSelect A Boolean value that specifies whether to select the item (true) or deselect the item (false). This parameter
is optional; the default value is
true. If you pass false for bSelect, the value of bReplaceCurrentSelection is ignored.
Returns
A Boolean value of true if the item was successfully selected or deselected; false otherwise.
Description
Method; selects or deselects an item in the Motion Presets panel, optionally replacing any items currently selected.
Example
The following code adds the fly-in-blur-right preset to the currently selected presets (if any) in the Motion Presets
panel:
fl.presetPanel.selectItem("Default Presets/fly-in-blur-right", false);
Vedere la pagina 397
1 2 ... 393 394 395 396 397 398 399 400 401 402 403 ... 564 565

Commenti su questo manuale

Nessun commento