PDA

View Full Version : renaming symols...


manphib
05-02-2008, 06:18 PM
Hi everyone,

I'm super new to JSFL(as in today) and I'm trying to figure out a command to rename a symbol in the Library.

Can anyone help me?

Thanks

rtsamir
05-04-2008, 08:36 AM
There is a library methods renameItem which rename the selected Item Name.

var Lib = dom.library;
Lib.selectItem("Item Path And name");
Lib.renameItem("NewName")

See (http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00004284.html)