presetPanel summary
#### Availability
Flash CS4 Professional.
#### Description
The presetPanel object represents the Motion Presets panel (Window > Motion Presets). It is a property of the flash object (fl.presetPanel (../flash_object_(fl)/fl49.md)).
#### Method summary
You can use the following methods with the presetPanel object:
| Method | Description |
|-------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| presetPanel.addNewItem() (../presetPanel_object/presetPanel.md) | If a single motion tween is currently selected on the Stage, adds that motion to the Motion Presets panel. |
| presetPanel.applyPreset() (../presetPanel_object/presetPane1.md) | Applies the specified or currently selected preset to the currently selected item on the Stage. |
| presetPanel.deleteFolder() (../presetPanel_object/presetPane2.md) | Deletes the specified folder and any of its subfolders from the folder tree of the Motion Presets panel. |
| presetPanel.deleteItem() (../presetPanel_object/presetPane3.md) | Deletes the specified preset from the Motion Presets panel. |
| presetPanel.expandFolder() (../presetPanel_object/presetPane4.md) | Expands or collapses the currently selected folder or folders in the Motion Presets panel. |
| presetPanel.exportItem() (../presetPanel_object/presetPane5.md) | Exports the currently selected or the specified preset to an XML file. |
| presetPanel.findItemIndex() (../presetPanel_object/presetPane6.md) | Returns an integer that represents the index location of an item in the Motion Presets panel. |
| presetPanel.getSelectedItems() (../presetPanel_object/presetPane7.md) | Returns an array of presetItem objects corresponding to the currently selected items in the Motion Presets panel. |
| presetPanel.importItem() (../presetPanel_object/presetPane8.md) | Adds a preset to the Motion Presets panel from a specified XML file. |
| presetPanel.moveToFolder() (../presetPanel_object/presetPan10.md) | Moves the specified item to the specified folder. |
| presetPanel.newFolder() (../presetPanel_object/presetPan11.md) | Creates a folder in the folder tree of the Motion Presets panel. |
| presetPanel.renameItem() (../presetPanel_object/presetPan12.md) | Renames the currently selected preset or folder to a specified name. |
| presetPanel.selectItem() (../presetPanel_object/presetPan13.md) | Selects or deselects an item in the Motion Presets panel. |
#### Property summary
You can use the following property with the presetPanel object:
| Property | Description |
|------------------------------------|-------------------------------------------------------------|
| presetPanel.items (../presetPanel_object/presetPane9.md) | An array of presetItem objects in the Motion Presets panel. |
<span id="presetPanel.addNewItem()" class="anchor"></span>