MTASC (Motion-Twin ActionScript 2 Compiler) is an ActionScript 2.0 compiler written in the OCaml programming language by the company Motion Twin. It is free software[1] and can be used alone or with other tools like swfmill to produce SWF files, which contain interactive multimedia content playable with the Flash Player. MTASC is also much faster than the Adobe Flash ActionScript compiler.[citation needed]

MTASC is built with optimizing OCaml compilers, and thus provides a speed improvement over the Macromedia Compiler (MMC).[citation needed] MTASC corrects several safety problems that occur when using MMC.[2] The MTASC compiler is stricter than MMC and can detect more errors than MMC; because of this strictness, there are some differences between MMC and MTASC.[clarification needed]

MTASC is not compatible with ActionScript 2.0 in the local variables scoping, local function definitions, etc.[2]

MTASC will not support ActionScript 3.0, which is supported by its successor, Haxe.[3]


  1. ^ MTASC LICENSE file, available via cvs -d checkout ocaml/mtasc/LICENSE
  2. ^ a b Comparison of MTASC and Macromedia Compiler
  3. ^ MTASC And ActionScript 3

External linksEdit