Packagecom.flashdynamix.motion.effects.core
Classpublic class DissolveEffect
ImplementsIEffect

Applies a seeded Dissolve effect on to a BitmapData



Public Properties
 PropertyDefined by
  destBmd : BitmapData
This BitmapData is used for the dissolved pixels.
If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels.
DissolveEffect
  fillColor : uint
The color used to fill for pixels when the source and dissolve BitmapData are the same.
DissolveEffect
  point : Point
The position from which to draw the dissolve effect.
DissolveEffect
  seed : int
The seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE.
DissolveEffect
  seedOffset : int
The amount of offset which can be used to randomize the dissolve effect on each render from the seed value.
DissolveEffect
  steps : Number
The number of steps required to disolve a BitmapData from the original BitmapData to the destination BitmapData.
DissolveEffect
Public Methods
 MethodDefined by
  
DissolveEffect(destBmd:BitmapData, steps:Number = 10, seed:int = 0, seedOffset:int, fillColor:uint = 0x00FFFFFF)
DissolveEffect
  
render(bmd:BitmapData):void
Renders the DissolveEffect on to the specified BitmapData.
DissolveEffect
Property detail
destBmdproperty
public var destBmd:BitmapData

This BitmapData is used for the dissolved pixels.
If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels.

fillColorproperty 
public var fillColor:uint

The color used to fill for pixels when the source and dissolve BitmapData are the same.

pointproperty 
public var point:Point

The position from which to draw the dissolve effect.

seedproperty 
public var seed:int

The seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE.

seedOffsetproperty 
public var seedOffset:int

The amount of offset which can be used to randomize the dissolve effect on each render from the seed value.

stepsproperty 
public var steps:Number

The number of steps required to disolve a BitmapData from the original BitmapData to the destination BitmapData.

Constructor detail
DissolveEffect()constructor
public function DissolveEffect(destBmd:BitmapData, steps:Number = 10, seed:int = 0, seedOffset:int, fillColor:uint = 0x00FFFFFF)

Parameters
destBmd:BitmapData — This BitmapData is used for the dissolved pixels.
If you wish to dissolve to transparent pixels then create a BitmapData of transparent pixels.
 
steps:Number (default = 10) — The number of steps required to disolve a BitmapData from the origion BitmapData to the destination BitmapData.
 
seed:int (default = 0) — The seed to use when rendering the dissolve effect this can be any number between 0 to int.MAX_VALUE
 
seedOffset:int — The amount of offset which can be used to randomize the dissolve effect on each render from the seed value
 
fillColor:uint (default = 0x00FFFFFF) — The color used to fill for pixels when the source and dissolve BitmapData are the same
Method detail
render()method
public function render(bmd:BitmapData):void

Renders the DissolveEffect on to the specified BitmapData.

Parameters
bmd:BitmapData