November 25th, 2010 by Adrian


Over the last 12 months I’ve been using Snipplr to save code snippets online. It’s a great service for storing, sharing and accessing those bits of code that come in handy. You can also search for other peoples code and mark them as ‘favourites’ and follow people etc.

My snippets can be seen here.

My only criticism would be regarding the search results and the use of ‘tags’. You are able to ‘tag’ your snippets with keywords, but these don’t seem to be taken into account when doing a search. So this limits the results a bit.

Earlier in the year Snipplr was acquired by Envato (Owners of activedentuts+ and many more), which may mean some improvements are on the way.

Posted in ActionScript 3.0, Sample Code | 3 Comments »

AS3 Code Libraries (APIs)

August 19th, 2008 by Adrian

Here is a round up of some of the most popular ActionScript 3.0 (AS3) libraries out there to use.

Let me know if I have missed an important one off.

NOTE: This list was originally for my personal use (that I thought I would share), it is not intended to compete with or replace the list maintained by OSFlash or RIAForge.

Update 29/10/08: Ted Patrick has put together a list of ActionScript Cloud/Service APIs that he going to highlight during his Adobe MAX 2008 keynote presentation.

Update 28/11/08: I have just come across the Actionscript Classes website. A very handy resource.

Update 11/01/09: Rich Tretola has a small list of AS3 Libs on his blog EverythingFlex.

Update 12/01/09: The Flashchemist has compiled a similar list on his blog.

Update 27/02/09: Check out Spark Project which includes the FLARToolkit for Augmented Reality

Update 11/08/09: I just stumbled across this (old) list of projects.

Update 19/12/09: Sean “theflexguy” Moore has just written a blog entry called ‘List of 34 More ActionScript 3.0 APIs‘. This is a follow-up to his original post ‘List of 22 ActionScript 3.0 API’s‘.

Update 22/12/09: “30+ ‘Must Try’ Open Source Actionscript 3 Libraries” and “30 MORE Awesome Open Source AS3 Libraries

Update 28/01/10: “30 Classes AS3 bem úteis!”

Update 29/01/10: “15 Awesome ActionScript 3 Frameworks To Inspire Your Next Project”

Update 24/02/10: Emanuele Feronato has a good list of Isometric Engines on his blog

Update 19/03/10: Tom Krcha has posted a list of Flash Gaming Engines, plus a few others that were new to me.

Update 09/07/10: FluxDb has a huge list of AS3 Libraries.

Update 15/04/12: Exagone has a list of libraries

Update 16/04/12: 68 Small but Useful Open Source ActionScript Libraries (misc) help Flex/Flash Developers Improve Work Efficiency

Update 17/04/12: List of ActionScript 3.0 APIs

3D Engines

3D Game Engines

2D Engines (utilising the GPU using Stage3D)

2D Game Engines

Isometric Engines

3D Animation Framework

3D Physics Engines

Augmented Reality

Animation Tweening Engines

2D Physics Engines


Audio Libraries

Particle Systems

Data Visualization

Loading Kits

OOP Frameworks

Website Frameworks

Debug / Stats / Trace / Output Panels

Other APIs and libraries

Posted in ActionScript 3.0, AIR, Augmented Reality, Flash, Flex, Papervision 3D, Tweening | 123 Comments »

Default code in Flex

February 25th, 2008 by Adrian

Just for reference, here is the default code that Flex gives you when starting a new Flex project and ActionScript project.

Default Flex MXML file

< ?xml version="1.0" encoding="utf-8"?>
<mx :Application xmlns:mx="" layout="absolute">


Default ActionScript file

package {

    import flash.display.Sprite;

    public class ClassName extends Sprite
        public function ClassName()



Posted in ActionScript 3.0, Flash | No Comments »