Extracting Actionscript from .fla file, without Ad

2019-05-05 07:53发布

问题:

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/