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

Building Web Reputation Systems

Building Web Reputation Systems

Randy Farmer、Bryce Glass / Yahoo Press / 2010 / GBP 31.99

What do Amazon's product reviews, eBay's feedback score system, Slashdot's Karma System, and Xbox Live's Achievements have in common? They're all examples of successful reputation systems that enable ......一起来看看 《Building Web Reputation Systems》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

html转js在线工具
html转js在线工具

html转js在线工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具