ActionScript 2.0; Flash Player 6
Partigen 1.0
PGemitter._colorend : Array
PGemitter._colorend[i] : Number/String
Property, read/write; Color and percent to end particle at [hexstring, percent]. Setting this value will tween a particle's color over its life. The first value is color, and the second value is how much tint to apply to the particle (in percent). By default this is set to 'disabled'. To create particles without a tint, just set _colorstart to 'disabled'.
The following example will tween a particle to red over its life:
Partigen.createEmitter(this, 'my_em', 0); //create a new emitter with all the defaults my_em._x = my_em._y = 200; //set the emitters x&y position to 200 so we can see it my_em._colorend = ['0xFF0000', 100]; my_em.start();