|
Flash CS4 Resources |
presetPanel.deleteItem()AvailabilityFlash CS4 Professional. UsagepresetPanel.deleteItem( [namePath] ) Parameters
ReturnsA Boolean value of true if the item or items are successfully deleted; false otherwise. DescriptionMethod; 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.
ExampleThe following code deletes a preset named aDribble from the Custom Presets folder: fl.presetPanel.deleteItem("Custom Presets/aDribble");
See also |