Adobe Extending Flash Professional CS5 Bedienungsanleitung Seite 391

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 565
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 390
369
EXTENDING FLASH PROFESSIONAL
presetPanel object
Last updated 5/2/2011
presetPanel.deleteItem()
Availability
Flash CS4 Professional.
Usage
presetPanel.deleteItem( [namePath] )
Parameters
namePath A string that specifies the path and name of the item to delete from the Motion Presets panel. This
parameter is optional.
Returns
A Boolean value of true if the item or items are successfully deleted; false otherwise.
Description
Method; deletes the specified preset from the Motion Presets panel. If you don’t pass a value for namePath, any presets
that are currently selected are deleted. You can’t delete items from the Default Presets folder.
Note: Items are deleted without requesting user confirmation, and there is no way to undo this action.
Example
The following code deletes a preset named aDribble from the Custom Presets folder:
fl.presetPanel.deleteItem("Custom Presets/aDribble");
See also
presetPanel.deleteFolder()
presetPanel.expandFolder()
Availability
Flash CS4 Professional.
Usage
presetPanel.expandFolder( [bExpand [, bRecurse [, folderPath] ] ] )
Parameters
bExpand A Boolean value that specifies whether to expand the folder (true) or collapse it (false). This parameter is
optional; the default value is
true.
bRecurse A Boolean value that specifies whether to expand or collapse the folder’s subfolders (true) or not false).
This parameter is optional; the default value is
false.
folderPath A string that specifies the path to the folder to expand or collapse. This parameter is optional.
Returns
A Boolean value of true if the folder or folders are successfully expanded or collapsed; false otherwise.
Seitenansicht 390
1 2 ... 386 387 388 389 390 391 392 393 394 395 396 ... 564 565

Kommentare zu diesen Handbüchern

Keine Kommentare