ActiveDen

Burn and Tear Edges Effect for Images

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 encompass

burnStrength – the visible strength of the burn

tearDepth – the depth that the tear is allowed to go into the image from the edge

moveMin – 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)

SEO and Mobile Friendly XML Templates

keywords: effects, filter, effect, edge, edges, image, picture, bitmap, burn, singe, tear, torn, flash, class, as3, old, age, jpeg, gif, png, jpg

You must sign in or sign up to purchase this item.

$4Regular Licence

$4

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

7 Purchases 12 Comments

Buyer Rating
Minimum of 3 votes required
for Rating
MBMedia

MBMedia

  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • United States
  • Referred between 50 and 99 users
View Portfolio
Created 6 January 09
ActionScript Version AS3
Documentation Some Help
Opens With Flash CS3 (9+)
Published Size 1kb
by
by
by
by
by