Bitmap is an often used graphics file format in program development. Then it seems how to master it is very important. In fact there are many very useful classes about bitmap can help you to easily create a Bitmap objects. Following we have collected 8 classical BitMap classes for your reference. Hope you can enjoy them.
AS3 Scale9 Bitmap
AS3 Scale9 Bitmap is helper class that lets you create scale9 sprites with bitmap data fill – originally this was not possible in Flash 9. The helper class creates a “fake” scale 9 sprite containing 9 shapes that scale according to user-defined scaling matrix. Extremely useful for user interface work (creating buttons, scalable UI elements etc.).
AS3 bitmap mosaic class
This class will allow you to create a pixellated copy of any display object. It allows for varying pixel sizes and caching of rendered pixels so you don’t have to redraw them every time.
Active Window Blur
It has detail code and examples show how the class works.
Animated Bitmap Class
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.
CollisionDetection class is really simple to work with, there is a single static method called checkForCollision with four parameters. movieClip1, movieClip2 – The MovieClip instances to check for collision. alphaTolerance – a number from 0 to 255 that specifies the transparency tolerance when testing the collision. A higher number will increase the tolerance (ie. allow more transparent parts of the MovieClip to register collisions). Defaults to 255.
It is an updated version of the original DistortImage class for AS2, which allows you to programmatically distort images.
ImageLoader is a straightforward image loader. It simplifies the job of loading images by automatically creating a list of images being loaded, controlling its queue with priority features (by way of the LoadingQueue class), and by caching images locally using BitmapData instances. This means that when you try to load a new image, it actually loads the image, saves its BitmapData, and attaches the image to the container (with smooth turned on by default).
It is a simple class for creating a reflection below any type of displayObject in AS3.