Search code examples
actionscript-3flash-cs3flash-ide

How To Reconfigure Class File Paths In a FLA File?


I have a lot of library assets linked to external as3 classes. I would like to change the structure of the packages containing the linked classes, but if I do so, all links will get broken.

Is there any way to automatically or at least easily tell the FLA file where to get the new class files from? Could a FLA file be configured to read this sort of information from a configuration file?


Solution

  • You can add a folder to the source paths in ActionScript Settings. So if you had linked all your classes relative to the 'myClasses' folder, and then you moved everything to a different folder, you'd just have to update that one source path and it would find all the classes again.

    Also, maybe this obvious, but I didn't realize it for a long time:
    You can edit the class linkage right in the Library panel (without having to open the Properties for each symbol). Just double-click the linkage path.