as3corelib update
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.






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
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
@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
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
@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
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
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
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
…wasn’t me ;-)
Stefan
22 Oct 08 at 9:21 am