News

2008-10-06:    Spicelib 1.1.0 enhances Reflection API

The new Spicelib version primarily adds a few features to the Reflection API that were missing in the 1.0 release, most notably support for metadata tags. You can now reflect on metadata tags and optionally map them to custom AS3 classes to have type-safe access to the attributes of metadata tags. The new feature is described in the updated manual.

In the process of polishing the API there was also a bit of refactoring for the type hierarchy, so the Reflection API is not fully backwards compatible to the 1.0.x releases. But if you want to migrate an existing project to the new version the necessary changes should be quite straightforward. If you don't use reflection this release is backwards compatible and can be used as a drop-in replacement for previous releases.

Another improvement that was requested by users on our forum is support for ApplicationDomains in the Reflection API, which is important if you are using Flex Modules or any SWF that gets loaded into a separate ApplicationDomain. If you are using Parsley you have to wait for the upcoming 1.0.2 release which will take advantage of these enhancements in the Spicelib. This Spicelib release is not compatible with the current 1.0.1 release of Parsley.

Other modules of the Spicelib received only minor enhancements. There is now a new NestedError base class for example, that gives you stacktraces that include the stackstraces of the causes of this Error, something you might be accustomed to when you also work with languages like Java.

Finally from now on we will include individual SWCs for the modules of the Spicelib in addition to the full SWC, so you can just pick the SWCs that you need without cluttering your classpath. A listing for which SWCs you would need to include for a particular module can be found in the manual.

The Spicelib update is the first release in a series of updates that we release for all existing Spicefactory frameworks to prepare for the initial Pimento release. The next update will be Cinnamon 0.3.0 in about two weeks, followed by Parsley 1.0.2 and finally Pimento itself.

You can download the new version here.


Release Notes - Spicelib AS3 - Version 1.1.0

New Feature

Improvement

Task


News Overview