Burn and Tear Edges Effect for Images
This is a class that allows you to apply burns and tears to the edges of a Bitmap instance (an image) in Flash. It is a class where you call a single function, and it applies the effect to the bitmap data, modifying the image itself to have the burned and torn edges. It is not a mixture of standard Flash filters (like most effects) it is a complex algorithm to modify the graphic, and once applied the effect takes up no more resources than the image took up already. It is also just one .as file that compiles into the swf file, and adds nearly no size to your project.
You can use the class with one function call:
BurnAndTearEdges.filter(myBitmap);And then there are also 5 optional arguments that you can use to change the outcome (the effect of each can be seen in the preview).
burnWidth – the width in pixels that the burn will encompassburnStrength – the visible strength of the burntearDepth – the depth that the tear is allowed to go into the image from the edgemoveMin – the minimum amount a tear can move for each little tear along the edge (a small negative number makes a jagged tear, and a larger positive number will be smoother)moveMax – the maximum amount a tear can move for each little tear along the edge (must be larger than the minimum, and the larger than the minimum, the more random the tear)keywords: effects, filter, effect, edge, edges, image, picture, bitmap, burn, singe, tear, torn, flash, class, as3, old, age, jpeg, gif, png, jpg


7 Purchases
12 Comments