ActiveDen

Scrolling Particle Background

A mouse driven particle effects animation that can be customized in many ways. Things like different linkageIDs for different multiple particles, an array of colours, animation speed, motionBlur and alpha depth Fade can be altered to create an interesting mix of mouse drive animations.

NOTE : I neglected to document another parameter (moveFactor) that can be passed in in the FLA file itself. Please see below for the update…

All that is needed is these lines of code :

import com.meerkatlookout.effects.particleScroller;
var scroller:particleScroller = new particleScroller();

And then an initialization setting up the optional parameters such as those shown in the above movie.

Here are the parameters that can be changed

  • container_mc : MovieClip – a clip to create particles in
  • particleIDs : String/Array – these are linkageIDs of items in the library. These items should also have their AS2 .0 class filled out as “com.meerkatlookout.effects.particle”
  • initObject : Object – an OPTIONAL Object containing the following :

contentMc : String – linkageID of a movieclip that can be used to float particles above/below

particlesNum : Number – number of particles to generate

coloursArr : Array – if empty then generate random colour Transform for each particle – if populated then it will randomly colour Transform each particle using one of the listed colours – do not pass or pass null will NOT produce any transform and leave in original colours

scaleThreshold : Number – determines at what scale (1-100) the particle will be considered “above” the contentMc

easingFactor : Number – determines how quickly deccelaration of scrolling occurs

depthFade : Boolean – if true will also alpha out particles as they get smaller

moveFactor : number – a movement factor that will effect the speed the particles move. Default is 0.8

blurAmount : Number – a blurring factor to increase/decrease the blurred effect

motionBlur : Boolean – if true then particles will motion blur as mouse is moved

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

$20Extended Licence

$20

Extended Licence an app, paid game, or other software project, a website template for sale - Details

92 Purchases 5 Comments

Buyer Rating
12345 ( 27 ratings )
meerkatlookout

meerkatlookout

  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
View Portfolio
Created 14 July 07
ActionScript Version Unknown
Documentation Unrated
Opens With Flash 8 (8+)
Published Size 14kb
by
by
by
by
by