Packagecv.orion.filters
Classpublic class FrameFilter
ImplementsIFilter

The FrameFilter will progress a particles current frame by one each time the particle is updated.


Example
There are two ways to apply the filter. The first way it so set it via the config object. The second way is to add it to the effectFilters array itself.
  import cv.Orion;
  import cv.orion.filters.FrameFilter;
  
  // First method
  var e:Orion = new Orion(linkageClass, null, {effectFilters:[new FrameFilter()]});
  
  // Second method
  var e2:Orion = new Orion(linkageClass);
  e2.effectFilters.push(new FrameFilter());
  



Public Properties
 PropertyDefined by
  loop : Boolean
If the filter is set to loop
FrameFilter
Public Methods
 MethodDefined by
  
FrameFilter(loop:Boolean = false)
Causes the particle to go through the frames, with the option of looping.
FrameFilter
  
applyFilter(particle:ParticleVO, target:Orion):void
Applies the specified filter to a particular particle.
FrameFilter
Property detail
loopproperty
public var loop:Boolean

If the filter is set to loop

Constructor detail
FrameFilter()constructor
public function FrameFilter(loop:Boolean = false)

Causes the particle to go through the frames, with the option of looping.

Parameters
loop:Boolean (default = false) — Whether to loop the movieclip or not
Method detail
applyFilter()method
public function applyFilter(particle:ParticleVO, target:Orion):void

Applies the specified filter to a particular particle.

Parameters
particle:ParticleVO — The individual particle.
 
target:Orion — The emitter associated with the particle.