This software enables you to use Java instead of ActionScript to create Flashcontent. This enables you to use the much better java toolset like refactoring and JavaDoc. Also, if you are a Java programmer, you’ll probably find it useful to be able to use Java instead of ActionScript. Though you still need to know the inner workings of flash to some extent.
You can download the latest build from sourcesecure. The current size is 3.3 MB.
Test the installation
Whenever you change the Java source and save your changes, the corresponding ActionScript class in src_As should be updated now. Eg. open org.j2as.examples.SimpleExample and change iColor to some other beautiful color and save. Every change should be reflected in the corresponding class in src_as.
The classes in the intrinsic package are only used to make the java code compile. They are not converted but supposed to exist already, like the built in MovieClip class or the interface of your favorite AnimationPackage (see AnimationPackage.org). In the final ActionScript the prefix intrinsic is removed from the package.
Some features are realized in ActionScript currently. You need the classes in lib_as, to compile the Flashproject.
Especially the addressbook example needs some intrinsic classes which are not part of the standard mtasc distribution. You can find them in the HAMTASC distribution at osflash.org. Or you try to copy the missing ones from src_as/intrinsic to MTASC’s std directory.
Please report bugs to the project mailing list
The plugin is published under the GPL.
If you like to contribute, please send me a short mail to info@bokelberg.de
This peace of software is artware. If you like it and you like to donate something, create or buy a small piece of art and send it over to me. Drop me a line at info@bokelberg.de, and i’ll gladly send you my postal address. If you are not an artist or don’t like art for any reason :) but still feel the need to donate, you can also use my PayPal account and donate some money.
If you use J2AS for a production, please advertise here.
A big thanks goes out to Aral & Sourcesecure for kindly hosting this project at osflash.
Cheers, Ralf.