Migrating AS3 to Haxe


  • part1
    basic stuff: document class, class structure, variables declaration, basic data types and conversions, keywords...
  • part2
    functions: getters/setters,optional arguments, variable number of arguments, return values, type inference...
  • part3
    Things that are not available in AS3 like enums, typedef, resources ...

Migrating Haxe to AS3

  • Compile with "-as3" flag to generate AS3 code from Haxe code (best option)
    haxe -as3 D:\as3code -main Main.hx -lib <USED_LIBRARIES>
  • Compile with "-swf" flag to build SWF, then decompile with decompiler of choice
version #19971, modified 2014-03-01 10:22:40 by hgupta