Mike Chambers

code = joy

as3corelib update

with 9 comments

One of the ActionScript 3 libraries that I use in just about every project I work on is the as3corelib library. This is an ActionScript 3 library that contains a lot of useful APIs for working with AS3.

I am planning to do some more work the library this week. I spent the morning scrubbing and fixing some bugs, and plan to fix more issues, as well as generate new docs and a new SWC.

So, if you have any bugs, issues, or feature requests for the library, please log them on the project site as soon as possible.

If you have questions about the library, then check out the as3corelib mailing list.

Written by mikechambers

July 2nd, 2008 at 9:35 am

Posted in General

9 Responses to 'as3corelib update'

Subscribe to comments with RSS or TrackBack to 'as3corelib update'.

  1. Hi Mike, many thanks for such a dainty!

    Just a quick note (is it worth of logging on the project site?), open the library in FDT and you will see couple unused imports, local variables and missing semicolons. Also local var ‘final’ in URI.as collides with reserved word and confuses FDT parser.

    Anyway, many many thanks!

    daniel.sedlacek

    3 Jul 08 at 1:48 am

  2. good news :)

    you may also want people to use the new feature “code review” in GC

    cheers,
    zwetan

    zwetan

    3 Jul 08 at 6:10 am

  3. @daniel.sedlacek

    Yes. Please log those issues. That would be very helpful.

    mike chambers

    mesh@adobe.com

    mikechambers

    3 Jul 08 at 8:13 am

  4. Hi Mike,

    yeap, thanks for the hint. Just one remark – I don’t think functions which are replacing one line of
    ‘original’ code with another line of code (an ArrayUtil function call) are really useful. Actually it makes
    the code less readable (at least for me ;-)

    e.g. ArrayUtil:

    public static function arrayContainsValue(arr:Array, value:Object):Boolean
    {
    return (arr.indexOf(value) != -1);
    }

    and

    public static function copyArray(arr:Array):Array
    {
    return arr.slice();
    }

    What do you think?

    Regards,
    Stefan

    Stefan

    7 Jul 08 at 12:46 am

  5. @stefan

    Yeah, im not sure why the copyArray function is in there (probably because way back when, i kept forgetting which function i could use to copy an array).

    arrayContainsValue is more of a convience function.

    Regardless, at this point, we are not going to remove them as it would break a lot of code.

    mike chambers

    mesh@adobe.com

    mikechambers

    7 Jul 08 at 9:12 am

  6. Mike,

    yeah, understood. I would say use editor templates and not library code.
    But actually I think its a missing feature in Flexbuilder 3 – templates and formatter for the AS3 editor (like it is done for Java).

    Regards,
    Stefan

    Stefan

    13 Aug 08 at 7:45 am

  7. All of the as3corelib downloads are flagged as “deprecated”. Are the project files still good at http://code.google.com/p/as3corelib/ or should they be downloaded from somewhere else from now on?

    Gareth Arch

    13 Oct 08 at 10:27 am

  8. Stefan,

    Sorry about the hassle. You should grab the source from subversion.

    I am going to make a new download as soon as I get a chance.

    mike chambers

    mesh@adobe.com

    mikechambers

    13 Oct 08 at 10:29 am

  9. …wasn’t me ;-)

    Stefan

    22 Oct 08 at 9:21 am

Leave a Reply