开发者

Mass renaming linkages in a FLA

I have an AS3 based FLA that, for various reasons, needs nearly all of the linkages in the library reworked (need to move to a different package namespace). This particular FLA is pretty big, so doing this by hand would be rather tedious.

What is the best way to handle this?

I have considered saving out the FLA as an XFL, and just hand editing all of the XML files in the LIBRARY folder, and then saving out as FLA. Has anyone tried this? I have never worked with XFL files before, so I don't know what quirks I may run across.

开发者_JAVA技巧

Are there any existing JSFL scripts that handle this?

Thanks.

EDIT:

My problem has to do with loading SWFs and class conflicts because of multiple SWFs using the same package namespace. Without getting into too many details, I know about ApplicationDomain and LoaderContext. I am currently loading into a new ApplicationDomain, but that isn't an ideal situation and is causing grief that won't be maintainable in the long run.


I don't have access to Flash IDE today but you can easily adapt my script to do what you want : Automated importing/renaming of Flash assets renaming-of-flash-assets/6031965#6031965

There is an easy way to find what Jsfl functions you have to use :

  1. Open History panel (Window > Other Panels > History)
  2. Make one linkage renaming
  3. Copy history to jsfl and adapt code
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜