With the publication of the SWF file format and the ActionScript Virtual Machine 2 specification, many open-source SWF operating tools (Decompiler/Parser/Creater) are available on the network, it can analyze AS, Flex, Flash and other program structures, extract algorithms, resources, confuse code, and dynamically generate SWF and other functions.
A brief comparison of typical SWF operating tools:
Name |
Dev Language |
Read /Write |
Support DoABC Tag |
Support Other Tag |
Support Flash player9 |
Support Flash player10 |
Reliability |
Usage-of-use |
Function |
Jswiff |
Java |
○ |
○ |
○ |
○ |
× |
★★★★☆ |
★★★★☆ |
★★★★☆ |
Swfassist |
Actionscript |
○ |
○ |
○ |
○ |
○ |
★★☆☆☆ |
★★★☆☆ |
★★★☆☆ |
As3c |
C # |
○ |
○ |
× |
○ |
× |
★★★★☆ |
★★★★★ |
★★★☆☆ |
Hxformat |
HaXe |
○ |
○ |
○ |
○ |
○ |
? |
? |
? |
Summary:
1. Jswiff currently has the best comprehensive capabilities, but the Homepage cannot be opened now (is dead ?). Svn can also be accessed. Its Jswiff 9 Branch provides DoABC Tag parsing and currently only supports Flash 9.
In java, swfutils in the Adobe flex sdk is also used to read swf files (including parsing DoABC tags ).
2.swf assist is a sub-project of spark with comprehensive functions. Its abc-extended Branch provides parsing of DoABC tags, but it expressed doubts about its availability. It was not successful to simply read and write the SWF file once.
There are many tools for parsing swf in The actionscript system, but most of them are stopped.
3. The overall design architecture and code of as3c are very beautiful. If you do not understand the ActionScript Virtual Machine 2 specification, it is better to look at the code of as3c. However, it only cares about Actionscript.
4. heformat (SWF and ABC) is written by the haXe language and has not used the haXe language yet. However, heformat leaves a deep impression on its code streamlining capability.