I am proud to announce that Zeroi is now open source and available on OSFlash.org.
Ralf Bokelberg did the coreengine programming and I added the ability to define a logconfig xml file to filter logs of classes or packages to a specified loglevel.
The main idea of Zeroi is to be able to use any logging system (like SOS, XRay, Luminic Box, …) in your MTASC project, without having to change the code of your app. In fact your code doesn’t even need to know about Zeroi. Inside your app you only use trace statements. The traces are forwarded to the logging system of your choice.
That’s what the name Zeroi is standing for: Zero Impact.
Check the wiki entry on OSFlash for further information.
In a short word when you use the code trace(”e this is an error”); this log is captured by your favorite logging tool like and marked as an error log.
The prefix “e” is interpreted as a loglevel which are d for DEBUG, i for INFO, w for WARNING, e for ERROR and t for TEMP which is supported by SOS, the logging tool of my choice.
Nicolas Cannasse released MTASC 1.11 which he called a stable release.
This stable was very important for Nicolas because he wants to concentrate his power in his new invented language called haXe.
MTASC will get no AS3 support but haXe will. But that’s not all. With haXe you are able to program in one language but deploy on multiple platforms.
Basicly, what haXe can do is :
- create Flash SWF files using Flash APIs for Players 6,7,8 and soon 8.5.
- generate Javascript code using Browser DHTML API, so you can create AJAX web applications.
- generate Neko sourcecode that can be used on the Server side or in standalone executable.
There is already an HXDT Eclipse plugin which is in an early state now but surely will grow very fast.
Talking about AS3 get excited about the Actionscript 3.0 book of Collin Moock which was announced shortly.
Today is not only Studio release date but also a new version of the Flash Open Source compiler MTASC 1.10.
I grabbed the following changes from the CHANGES.TXT:
- fixed small problem with class case and import wildcards
- added exclude wildcards and exclude without file
- changed TRACE in “trace”
- added AS keywords as real keywords (including deprecated ones)
- fixed parsing of objects and array declarations and parameters lists
- fixed escape sequences in strings and added unicode escape sequences.
- fixed && and || precedence.
- fixed duplicate public/static/private qualifiers.
- fixed for…in variable forced as String
- no more private and static fields in interfaces
- implemented field cannot be private
- better error when same file referenced several times.
- delete now returns Boolean
- fixed getVersion() in TopLevel
- fixed problem in class replace when not -keep and -mx
- changed -main : now in DoAction and not InitAction
- fixed stack corruption in new var(expr).
- fixed break with several stacked for..in
- disabled variables in interfaces
- added error message when several classes in same file
- changed switch implementation
- fixed typing of ?:
- fixed stack problem with “for”
- separate directory and “add” keyword hack for Flash8
I ran into the bold one. Later extending or implenting of classes was not possible after you compiled once with MTASC. Thanks to Nicolas for all the fixes!
MTASC 1.09 is released.
It has some fixes and now Flash 8 support.
Check the OSFlash page to this topic.
There are already examples for the new Flash Filter and the MovieClip Blendmode made by LuminicBox.
If you are using FAME you can already go for Flash 8 by installing the Flash Player 8 for IE. The preview with Flashout will be with the new Flash Player 8 and don’t forget the “-version 8″ when compiling with MTASC.
But - test your old content while playing with the new feature thow Macromedia can fix backward compatibility problems.
A new version of MTASC is available.
The new features:
- fixed getUrl2 stack.
- renamed and hide variable defined by main.
- fixed x instanceof y ? a : b parsing
- fixed try with no catch clauses
- removed mtasc trace message
- added -out
- a lot of small fixes in “std” header
- fixed bug in check for implemented interfaces
With the new -out parameter you don’t have to recompile you swf anymore but you can specify a custom target swf which will be created. Sometimes there where problems that MTASC corrupted a SWF and you had to recompile the SWF using the Macromedia Flash IDE. With the new -out this is much saver and has of course other advantages too.
If you are interested in MTASC hacks or mini tutorials also be sure to check OSFlash.org.
MTASC 1.07 is available.
Changes :
- fixed -keep + -main
- added ‘con’ error message
- SharedObject.getRemote argument to Object.
- added “print”.
- added deprecated keywords usage error.
- fixed “main” duplication
- added / to classpath (for absolute file paths)
- fixed for(;cond;incr) parsing error
- fixed (unop) expr ? parsing error
I started to use FAME for a while and there are so many topics and questions around this that the MTASC-list had many off topic posts.
For this purpose I set up the list Flash Open Source at yahoogroups: http://groups.yahoo.com/group/flashopensource
You might say that the actionscript.com arcticle says all what you need about setting up FAME but there are many things more like the integration of SWFMill. People think about building Eclipse Plugins which work as a library and many exciting things more.
I alreay wrote a little tutorial on how to integrate the NetConnection Debugger into Eclipse.
At this point a great THANK YOU to Nicalas Cannasse from Motion Twin for his great work on the MTASC compiler! Without him we still had to make a coffee break while compiling ![]()
MTASC 1.06 is released today with important fixes:
Changes are the following :
- fixed IO.No_more_input message
- fixed 32K limit calculation
- fixed bug with auto register class
- main now takes “this” as parameter and is delayed (onEnterFrame)
- added Object.valueOf intrinsic
- fixed Malformed_expression when using >32 bits integers
JesterXL posted a very nice example of how to trace with MTASC (and -trace) and Flashout in Eclipse.
This is indeed a coolTrace!
MTASC 1.5 was released today.
The changes:
- fixed type required to String for for…in variable
- fixed operator priority : a || b && c -> a || (b && c)
- error when multiple extends, interface cannot extends class
- warning when import not used (no longer add class)
- fixed error message when class not found
- register only one time the package
- errors on 32K bytecode size limit reached
- fixed operators priority for | ^ & against >> and % against * /
- forbid contructor returns and return type (modified headers)
- fixed class ordering problem with -keep
- fixed calls to super getter/setter problem
If you are using PrimalScript check out the integration of MTASC explained by Bit-101. You can also integrate Swfmill into this process explained on Protozoo.com.








