|
Flash CS4 Resources |
presetPanel.moveToFolder()AvailabilityFlash CS4 Professional. UsagepresetPanel.moveToFolder(folderPath [, namePath] ) Parameters
ReturnsA Boolean value of true if the items are successfully moved; false otherwise. DescriptionMethod; moves the specified item to the specified folder. If you pass an empty string ("") for folderPath, the items are moved to the Custom Presets folder. If you don’t pass a value for namePath, the currently selected items are moved. You can’t move items to or from the Default Presets folder. ExampleIn
the following example, the currently selected items are moved to
the Custom Presets/Bouncing folder, and then the Fast Bounce preset
is moved to the same folder:
fl.presetPanel.moveToFolder("Custom Presets/Bouncing");
fl.presetPanel.moveToFolder("Custom Presets/Bouncing" , "Custom Presets/Fast Bounce");
|