如何重新配置 FLA 文件中的类文件路径?
我有很多链接到外部 as3 类的库资源。我想更改包含链接类的包的结构,但如果这样做,所有链接都会被破坏。
有没有办法自动或至少轻松地告诉 FLA 文件从哪里获取新的类文件? FLA 文件可以配置为从配置文件中读取此类信息吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将文件夹添加到 ActionScript 设置中的源路径。因此,如果您将所有类链接到“myClasses”文件夹,然后将所有内容移动到另一个文件夹,则只需更新该源路径,它就会再次找到所有类。
另外,也许这很明显,但我很长一段时间都没有意识到:
您可以直接在“库”面板中编辑类链接(无需打开每个元件的“属性”)。只需双击链接路径即可。
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.