|
Flash CS4 Resources |
presetItem.pathAvailabilityFlash CS4 Professional. UsagepresetItem.path DescriptionRead-only property: a string that represents the path to the item in the Motion Presets panel folder tree, and the item name. ExampleThe
following example illustrates the difference between the values
in presetItem.name and presetItem.path.
fl.outputPanel.clear();
var presetItemArray=fl.presetPanel.items;
for (i=0;i<presetItemArray.length; i++){
var presetItem = presetItemArray[i];
fl.trace("Name: " + presetItem.name + "\n" + "Path: " + presetItem.path);
fl.trace("");
}
|