Flex Command Line Compiler Features

Although the Flex command line compiler (mxmlc) can compile MXML + ActionScript files into SWF , I need a concrete idea of ​​its capabilities through command line switches.

  • Customize which language you are writing, ActionScript 2/3
  • Configure which version of the Flash Player you are targeting is 7/8/9/10
  • Configure which movie frames contain ActionScript code.

an article covering Mxmlc , insert into the Flex SDK.

+3
source share
3 answers
$> mxmlc --help target-player

-target-player <version>
    specifies the version of the player the application is targeting.
    Features requiring a later version will not be compiled into the
    application. The minimum value supported is "9.0.0".

You cannot determine the language. afaik - mxmlc version 3 is only the actionscript 3 compiler. There may be some backward compatibility, but it is not a combined AS2 and 3 compiler.

I’m not even sure what your third point really means, or really what you are asking as a whole.

+4
source

Although not a direct answer to your question, it is interesting to note that the following MXMLC arguments will allow you to write code in AS1 style:

-strict=false -as3=false -es=true

, . "" JS- , AS3.

+3

flex complier - , - -, . Flex 2 .

AS2, mxmlc, flex 2, mxmlc, AS3.

AS3, flashplayer 9 .

+1

All Articles