Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.


JSFL Command: Replace associated class text

Posted July 21, 2008 by senocular

I have trouble making up my mind. So much that I can have a fairly substantial project in the works and suddenly decide that I need to rename the package path in which all my classes are stored. Luckily, code-wise, some simple search-replacing/refactoring can take care of any changes needed in the .as files. However, since this project is also based in the Flash Authoring tool, I'm left with a lot of classes associated with items in the Flash library which still reference the old package names. The solution? A search and replace JSFL command that replaces text in all items with associated classes in the library (plus the document class).

Get the command:
Replace associated class text.jsfl