Introduction

Flash is a lightweight cross-platform runtime for rich media, enterprise applications and mobile applications, as well as an integrated development environment. Flash can be programmed in ActionScript 1/2/3.

Friday, September 3rd, 2004 at 11:00 am

as2lib: 0.1 Beta Release

The as2lib finally goes beta.
So, what has changed?

  • Performance: We have improved the overall performance. Particularly in the data holder, overloading and reflection areas.
  • API: The Unit Testing System has been completely renewed, the restriction in the Output API to allow only string messages has been removed and a few grammatical mistakes have been rectified.
  • New Functionalities: We added methods in the StringUtil, ClassUtil and ArrayUtil classes as well as a SpeedEventBroadcaster, a StopWatch, priority data holders and much more. The aop framework is also included.
  • Fixed Bugs: We fixed a lot of bugs throughout the framework. It wouldn’t be appropriate to list them all here.

For a complete listing (sadly not fully complete because we were a little sloppy) check out the changelog on that is contained in the download of the as2lib 0.1 beta release.
We would like to receive a lot of feedback on this release.

7 Responses to “as2lib: 0.1 Beta Release”

  1. Marino Linaje

    Excuse me about publish this question here, but the 0.1 beta documentation zip has CRC error /sourceforce) and can’t be open. Anywhere else to see it, please?

  2. Simon Wacker

    Hi Marino,
    thanks for pointing it out. I just tested it myself and it actually does not work. I have thus uploaded the documentation myself. You can download it under: http://www.simonwacker.com/uploads/flash/as2lib/as2lib_0.1_beta_introduction_english.pdf.
    The bug on sourceforge will probably be fixed soon.

  3. Eric La Rocca

    Hi Simon,

    I’m very impressed by your work !
    I try to implement the output Handling lib but small example on Page 7 (out via TraceHandler) doesn’t seem to work; I didn’t get any error msg but didn’t get any trace either !?!?!
    Did I miss something ?

    Thx for your work and your help !

    (PS:doc zip still corrupted on SF)

  4. Eric La Rocca

    Got it !
    To make it work, I get rid of:
    import org.as2lib.env.out.*;

    and placed instead:
    import org.as2lib.env.out.Out;
    import org.as2lib.env.out.handler.TraceHandler;

  5. Eric La Rocca

    as2lib requires Player 7 as it uses try/catch and throws commands.
    Do you think it can be easily ported down to v6?

  6. Simon Wacker

    Hi Eric,

    I would have answered faster but just realized the comments. The documentation sadly cannot be replaced as easily as I thought because of some issues with sourceforge.

    The compiler should have normally complained because if the missing import of the TraceHandler class. The ‘*’ wildcard does only include classes that are in the same package and not the ones from sub-packages.

    I don’t think that the as2lib can be ported to version 6. Because as you have already noted we are heavily using try..catch blocks. I just tried to publish a project as a version 6 swf and got 204 error messages. :) You would have to replace all these try..catch blocks and throws commands and insert another kind of workflow, error handling logic (and you would have to repeat that with every update).

  7. Eric La Rocca

    So I keep your great lib for a future player7 project ;) Thx