|
Flash CS4 Resources |
presetPanel.deleteFolder()AvailabilityFlash CS4 Professional. UsagepresetPanel.deleteFolder( [folderPath]) Parameters
ReturnsA Boolean value of true if the folder or folders are successfully deleted; false otherwise. DescriptionMethod; deletes the specified folder and any of its subfolders from the folder tree of the Motion Presets panel. Any presets in the folders are also deleted. You can’t delete folders from the Default Presets folder. If you don’t pass a value for folderPath, any folders that are currently selected are deleted. Note: Folders
are deleted without requesting user confirmation, and there is no
way to undo this action.
ExampleThe following code deletes a folder named Bouncing below the Custom Presets folder; any subfolders of Bouncing are also deleted: fl.presetPanel.deleteFolder("Custom Presets/Bouncing");
See also |