Adobe Extending Flash Professional CS5 User Manual
Page 387
365
EXTENDING FLASH PROFESSIONAL
presetItem object
Last updated 5/2/2011
Usage
presetItem.path
Description
Read-only property: a string that represents the path to the item in the Motion Presets panel folder tree, and the item
name.
Example
The following example illustrates the difference between the values in
presetItem.name
and
presetItem.path
.
fl.outputPanel.clear(); var presetItem = presetItemArray[i]; }
var presetItemArray=fl.presetPanel.items;
for (i=0;i
fl.trace("Name: " + presetItem.name + "\n" + "Path: " + presetItem.path);
fl.trace("");
This manual is related to the following products: