For BCI security plays a role in the implementation of priority projects to which it is called to deal with both internally and externally the company. Primary point is the careful selection of tools appropriate to the defense of privacy and securing the internal network.

MTASC, an open source compiler for ActionScript PDF Print E-mail

ActionScript is the language Adobe used to develop dynamic applications, websites and videos with Flash animations, it is a language based on ECMAScript, that the version of Flash 7 (MX 2004) has elements of object-oriented programming.
ActionScript has always been associated with utilization of development tools from Adobe, as if compiled in the form of SWF files, could be initially produced only by the compiler (MMC Macromedia Compiler). Motion-Twin has built a compiler ActionScript 2.0 open source software, called MTASC (Motion-Twin ActionScript 2 Compiler), made in language Objective Caml (OCaml), which creates SWF files ready for compilation without the use of components for a fee.

This is a very good compiler: its use showed a higher completion rate than the commercial version, and is available for Windows, Linux and Mac OS. CAs shown in the official documentation, MTASC is much more restrictive than the MMC compiler to avoid security problems, and this creates a program that compiles without error with MMC, gives errors with MTASC.

Its installation is very simple: once charged the tarball from the site of the developers just extract it to a folder. Ecco un piccolo programma di esempio: Here's a small example program:

  1. class Foo 
  2. {
  3.   static var app : Foo;
  4.   function Foo() 
  5.   {
  6.    _root.createTextField("tf",0,0,0,550,400);
  7.    _root.tf.text="Hello world!";
  8.   }
  9.    // entry point
  10.   static function main(mc)
  11.   {
  12.    app=new Foo();
  13.   }
  14. }

Once you have written using your favorite editor and saved for example in the folder. / Test under the name prova.as may invoke, for example in a Windows environment, the compiler command line using the following syntax:

  1. mtasc -header 550:400:0 -main -swf build/prova.swf /test/prova.as

It can be inserted into a bat file to automate the execution, or integrated with the editor favorite, such as Eclipse and FDT.The compiler has reached version 1.12, and as mentioned the site, it will be extended to support later versions of ActionScript (currently now in version 3.0), since this support is present in another product of Motion-Twin: haXe

 

Select language

Site visit

045782
TodayToday79
YesterdayYesterday237
WeekWeek316
MonthMonth1474
IP:38.107.191.115
Bossoni Consulenza Informatica di Omar Bososni - Quinzano d'Oglio (BS) Via Gramsci, 11 - P.IVA 01935580983
BCI Software & Solutions Template by Ahadesign Powered by BCI!
Banner