Realistic Fireworks (Animated Objects)

Easy to use

There are two ways to use it:

  • Drag and drop the fireworks from the library (no ActionScript knowledge required)… OR
  • Create an instance of the CFirework class and add it to the stage or to a movieclip (two lines of code).

Features

  • Create fireworks of any color
  • Only 11 KB (even with the explosion sound)
  • Time-based animation (don’t need to change the FPS of your document)

Customization

It is very customizable (via ActionScript). The only required argument of the constructor function is the color, but you can enter more arguments to change the following features:

  • Velocity
  • Gravity acceleration
  • Size of the ascending fireball
  • Time elapsed before the explosion
  • Number of the particles
  • Size, speed and lifespan of the particles
  • Size and duration of the backlight

Download Realistic Fireworks (Animated Objects)

Leave a Reply

Your email address will not be published. Required fields are marked *