Extracting Actionscript from .fla file, without Adobe Flash

北战南征 提交于 2019-12-22 08:49:29

问题


Unlike this guy, I'm using MTASC's Haxe to compile SWF from AS. Considering I don't have Adobe CS, what are our options to extract the action scripts from any FLA file?

I mean different versions, like CS4, CS5, etc. Converting older versions to CS5 would also help.


回答1:


CS4 FLA container is Microsoft Structured Storage (like MS Word documents). You can open it with for example FAR Manager or OpenMCDF. Embedded AS3 code can be seen inside the objects in Unicode plaintext. You can open it with a text editor that supports Unicode encoding (2-byte UCS-2 Little Endian, not UTF8), and trim off binary garbage.

CS5 FLA is just a ZIP with AS3 code inside DOMDocument.xml.




回答2:


If the provider of your FLA is using CS5, the FLA is saved in a zip-based XFL format. You could then simply rename the .FLA extension to .ZIP and unzip to view its contents. Any frame scripts will be located in DomDocument.xml.

See Lee Brimelow's post on the subject for more detail: http://blog.theflashblog.com/?p=1986




回答3:


You can use FFDEC in order to extract the scripts and assets:

https://www.free-decompiler.com/flash/download/



来源:https://stackoverflow.com/questions/5562295/extracting-actionscript-from-fla-file-without-adobe-flash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!