8款很实用的Actionscript写的位图(BitMap)操作类
?
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
?
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.
?
DistortImage Class
?
It is an updated version of the original?turned on by default).
?
Reflection class
?
It is a simple class for creating a reflection below any type of displayObject in AS3.