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
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 is a general purpose AS3 particle system.
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.
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 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.
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.
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.
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.
Generate reflections from images