Hi, i am new for Actionscript and i need to know how to use the command line compiler to compile and create SWF files that use ActionScript 3. I really don't have any of idea for this and need help of you guys for the same. Please help me...
Hi, i am new for Actionscript and i need to know how to use the command line compiler to compile and create SWF files that use ActionScript 3. I really don't have any of idea for this and need help of you guys for the same. Please help me...
For Swf-files Action Script to create, you will see a compiler, the program requires that Action Script code and interprets the machine code that translates Swf files is used. If you have Flex Builder 2 installed, you already have mxmlc.exe, the compiler that does this for MXML and ActionScript 3 files.When walking mxmlc.exe, you 'll need it an ActionScript 3 at least (and usually) for compiling dossier.
This file serves as the primary application for published SWF file. Another external ActionScript 3, the import of this application or file references will automatically be compiled into the resulting SWF. Unlike the authors of the flash environment or Flex Builder, though, has mxmlc.exe no GUI (graphical user interface), it is a tool from the command line. Trying to in effect set by double clicking and opening EXE will warrant a reminder to cause to dive in rapid evalutation will do and will immediately close. For it to work, compiling a dossier Action Script (or MXML) requires.
mxmlc.exe needs an ActionScript file to compile.The easiest way is to use only explorer AS EXE file (or a shortcut to it) to drag. mxmlc.exe will richtend is that Action Script 3 file and will use the default options for SWF in the folder to compile and save a file in which AS was established.Compile with mxmlc.exe using drag and drop.If there are any problems with the compilation, such as a syntax error in Action Script, will not create a SWF and the warrant will be recalled once the error immediately show short, but it was not ready to give you enough time for them read.
The batch files are another alternative. They allow you to take the orders from the command line to a text file to keep that as an application runs. Using a batch file you can keep your question to mxmlc.exe with any number of options and warrants in motion only by BAT double clicking and launching. This tends to be the most useful approach of using mxmlc.exe. In fact, you can say that the samples of both the Flex Builder SDK provide that if there build.bat files are used for the project to compile mxmlc.exe
Bookmarks