Actionscript to java source converter

2019-02-23 19:28发布

is there a tool which can convert actionscript3 source code to java source?

4条回答
看我几分像从前
2楼-- · 2019-02-23 19:53

You should explain why you want to convert from AS3 to Java. I think, the typically way is to convert from Java to AS3, e.g. with Gas3.

查看更多
姐就是有狂的资本
3楼-- · 2019-02-23 19:59

I believe Haxe (which has similar syntax to AS3, also based on the ECMA Specification) is able to compile to Java (as well as a slew of other languages and bytecodes). It requires learning a new language, but it may be worth it.

查看更多
【Aperson】
4楼-- · 2019-02-23 20:11

I ran into this page awhile ago because I needed an actionscript to java converter too. I wrote one myself. It's very simple and requires manual adaptation after conversion (as most such converters do), but it does a good job of automating the boring stuff. You can find it on my blog.

查看更多
对你真心纯属浪费
5楼-- · 2019-02-23 20:19

You will be able to do this via Haxe in near future. First use as3hx to convert AS3 to Haxe, and then you can convert Haxe to Java via Haxe compiler. Haxe/Java was promised to be relased in this year.

查看更多
登录 后发表回答