Search Flex Components Free

Custom Search

December 9, 2007

Fire effect class

Introduction
Before Flash 8 we made fire mainly by drawing flames and animating every frame. We have use some programs like Photoshop or other that make animated gif's or into Flash itself. We have achived big .fla size, little reality because of repeating frames and even low customization. Thanks to Ken Perlin and his Perlin noise function, gives mankind opportunity programmatically to create nature texture like wood, water, marble, fire, clouds ..... Perlin noise function is added to Flash 8 AS2 which allow us to make realistic textures and by using Flash animating engine make them alive.

Making Fire programmatically takes 4 planning steps. Here's our working example and the source files:


Download example files >>>

Continue reading to know how the effect works

Related Flex Tutorials