You are Here:Home>>Old Posts>>AS3 |19 Custom AS3 Classes Roundup

AS3 |19 Custom AS3 Classes Roundup

Carlos Pinho
By | 2008-07-23T23:14:42+00:00 Jul 23, 2008|Old Posts|

One cool thing you can do in Flash and Flex, is to create custom classes in order to help you to repeat certain tasks in a easily manner. Today i show you a collection of some cool custom classes, which can help you to develop more and faster.


The SoundManager is a Singleton that does exactly what it says. It has a host of methods to choose from that should make adding sounds to your projects super simple. It has a dependency to TweenLite for the sound fading

Active Window Blur

Blurs a background (MovieClip or Sprite) behind a transparent window (MovieClip or Sprite).


TweenMax builds on top of the TweenLite core class and its big brother, TweenFilterLite, to round out the tweening family with popular (though not essential) features like bezier tweening, pause/resume capabilities, easier sequencing, hex color tweening, and more.


A simple light class to connect to the YouTube gdata API and source playlists and featured videos.

Pulse Particles

Pulse Particles is a general purpose AS3 particle system.

Animated Bitmap

The AnimatedBitmap class provides functionality for Bitmap objects that are animated by using a series of still images. When creating a new AnimatedBitmap you provide a BitmapData object that contains an image that consists of the ’single-frame’ images for the animation.


The QueueLoader is an actionscript library for sequential asset loading and monitoring. QueueLoader is designed to be used with Actionscript 3.0 and has become an open source project. If you are interested in contributing please contact the project leader.


The url prioritization class, it works with Loader, URLLoader, and Sound Objects (and maybe NetStream objects one day). This will let you set a priority for requests so they execute in the right order, take a look at currently executing requests or loading requests.


An updated version of the original DistortImage class for AS2, which allows you to programmatically distort images.

Layout class

This class – rather, a collection of 3: Layout, LayoutConstraint, and LayoutManager – provide that functionality to objects in Flash CS3 through ActionScript 3 using a somewhat similar API (though ActionScript only, no authoring interface). Using these classes you can constrain objects to the top, right, bottom, left, or center them horizontally or vertically within a layout. There are also controls for height and width as well as a property for maintaining aspect ratio.

Color Sampler Class

Color sampling engine for DisplayObjects. Takes a defined sample area (width, height, x, y) of a BitmapData object and computes the average color within the area. The RGB, red channel, green channel, blue channel, hue, saturation, and brightness values are stored from the sample.

2D Character Rigging Classes

The AS 3 rigging classes are used for skelton rigging and skinning of 2D characters. The rigging class library is organized around the development of highly specific articulated rigs. The current focus is on humaniod bipedal characters.

XML Loader Class

AS3 XML loader


The StyleCollection class lets you create groups of styles that are applied to and automatically updated on subscribing components. It supports both instance and renderer styles (setStyle and setRendererStyle respectively), and uses component introspection to apply only relevant styles to each component. StyleCollection exposes a robust interface, including a static interface that provides global access to named styles.


Easing is a Singleton that lets you do dynamic point-to-point property tweening. It is able to manipulate virtually any property of any object on or off the stage.


The class enables you to load CSS files into your flex application during runtime, a functionality Actionscript3.0 lacks.

Autocomplete Text Field

Create an automcplete text field in an AS 3 project.


A little Actionscript 3 class that enables you to load standard ZIP archives and extract contained files while the archive is still loading.

Reflection Class

Generate reflections from images

About the Author:

Carlos Pinho
A father, a husband and a geek... Carlos was the founder of projects like The Tech Labs and Flash Enabled Blog. He is the founder of TekTuts He is passionate about technologies. Their main skills are in analytics, transport & logistics, business administration. He also writes about programming resources, trends, strategy and web development.