|
Flash CS4 Resources |
presetPanel.renameItem()AvailabilityFlash CS4 Professional. UsagepresetPanel.renameItem(newName) Parameters
ReturnsA Boolean value of true if the preset or folder is successfully renamed; false otherwise. DescriptionMethod;
renames the currently selected preset or folder to a specified name.
This method succeeds only if a single preset or folder in the Custom
Presets folder is selected. This method fails in the following situations:
ExampleThe
following example renames the currently selected preset in the Custom Presets
folder to Bounce Faster.
var renamed = fl.presetPanel.renameItem("Bounce Faster");
fl.trace(renamed);
|