Free ActionScript

Flash AS2 & AS3 Tutorials, Game Code, Effects, Source Files & Sample Downloads

Sparkle Effect

3 Comments »

A simple animated sparkle effect. You can easily change settings to customize the look.

  • sparkNumber – number of sparkles per click
  • sparkDistance – offset distance from click
  • sparkSize – particle scale
  • sparkAlpha – particle alpha

Sparkle Effect

Download Fla Sample

Download Fla Sample

3 Responses

I love this affect. Thanks!

How would you change the color of the sparkle??

  • There is a movieClip in the library called “spark_gfx”. You can simply change the color of that circle (it’s currently a blue radial fill).

  • Hi, I was just wondering if its possible to make this work without a mouse click? For example I would like it running in a loop in the background of a movie. Preset 3 is the amount of sparkle I need. How do I do this or could you possible send me a FLA with this? Would be much appreciated!!

  • Leave a Reply

    You must be logged in to post a comment.