Adobe Extending Flash Professional CS4 Bedienungsanleitung Seite 381

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 560
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 380
359
EXTENDING FLASH CS4 PROFESSIONAL
presetPanel object
presetPanel.getSelectedItems()
Availability
Flash CS4 Professional.
Usage
presetPanel.getSelectedItems()
Parameters
None.
Returns
An array of presetItem objects.
Description
Method; returns an array of presetItem objects corresponding to the currently selected items in the Motion Presets
panel (see
presetItem object). Each item in the array represents either a folder or a preset.
Example
The following code displays the full pathnames of the currently selected items in the Motion Presets panel:
var itemArray = fl.presetPanel.getSelectedItems();
var length = itemArray.length
for (x=0; x<length; x++) {
fl.trace(itemArray[x].path);
}
See also
presetPanel.items
presetPanel.importItem()
Availability
Flash CS4 Professional.
Usage
presetPanel.importItem(fileURI [,namePath ])
Parameters
fileURI A string, expressed as a file:/// URI, that specifies the XML file to be imported as a preset in the Motion
Presets panel.
namePath A string that specifies in which folder to place the imported file and what to name it. This parameter is
optional.
Returns
A Boolean value of true if the file is successfully imported; false otherwise.
Seitenansicht 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 559 560

Kommentare zu diesen Handbüchern

Keine Kommentare