Java的Flash解析、生成器 jActionScript

码农软件 · 软件分类 · Flash开发包 · 2019-04-04 06:13:00

软件介绍

jActionScript 是一个使用了 JavaSWF2 的 Flash 解析器和生成器。提供了一个基于对象模型的 ActionScript 字节码,并提供了 ActionScript 字节码统计工具。

示例代码

public class LinkExtractor {
public static void main(String[] args) throws IOException {
GetUrlStackListener l = new GetUrlStackListener();
SimpleStackSimulator v = new SimpleStackSimulator(l);
SWFActionExtract extract = new SWFActionExtract(v);
TagParser parser = new TagParser(extract);
SWFReader reader = new SWFReader(parser, args[0]);
reader.readFile();
}

private static class GetUrlStackListener extends NullStackListener {
public void visitGET_URL2(GetURL2Action action,
Operand target, Operand url)
{
if (url.knownValue()) {
System.out.println("GET_URL2: "+url.getValue());
} else {
System.out.println("GET_URL2: (unknown)");
}
}
public void visitGET_URL(GetURLAction action) {
System.out.println("GET_URL: "+action.getURL());
}
}
}

本文地址:https://www.codercto.com/soft/d/2812.html

Web Security, Privacy and Commerce, 2nd Edition

Web Security, Privacy and Commerce, 2nd Edition

Simson Garfinkel / O'Reilly Media / 2002-01-15 / USD 44.95

Since the first edition of this classic reference was published, World Wide Web use has exploded and e-commerce has become a daily part of business and personal life. As Web use has grown, so have ......一起来看看 《Web Security, Privacy and Commerce, 2nd Edition》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试