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

Applies a static noise effect on to the BitmapData



Public Properties
 PropertyDefined by
  channelOptions : uint
A number that can be a combination of any of the four color channel values :
  • BitmapDataChannel.RED
  • BitmapDataChannel.BLUE
  • BitmapDataChannel.GREEN
  • BitmapDataChannel.ALPHA
You can use the bitwise OR operator (|) to combine channel values.
NoiseEffect
  grayScale : Boolean = true
A Boolean value.
NoiseEffect
  high : int = 255
The highest value to generate for each channel (0 to 255)
NoiseEffect
  low : int = 0
The lowest value to generate for each channel (0 to 255)
NoiseEffect
  seed : int = 0
The seed to use when rendering the noise effect this can be any number between 0 to int.MAX_VALUE.
NoiseEffect
  seedOffset : int = 2.147483647E9
The amount of offset which can be used to randomize the noise effect on each render from the seed value.
NoiseEffect
Public Methods
 MethodDefined by
  
NoiseEffect
  
render(bmd:BitmapData):void
Renders the static noise effect onto the BitmapData.
NoiseEffect
Property detail
channelOptionsproperty
public var channelOptions:uint

A number that can be a combination of any of the four color channel values :

You can use the bitwise OR operator (|) to combine channel values.

grayScaleproperty 
public var grayScale:Boolean = true

A Boolean value. If the value is true, a grayscale image is created by setting all of the color channels to the same value.
The alpha channel selection is not affected by setting this parameter to true.

highproperty 
public var high:int = 255

The highest value to generate for each channel (0 to 255)

lowproperty 
public var low:int = 0

The lowest value to generate for each channel (0 to 255)

seedproperty 
public var seed:int = 0

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

seedOffsetproperty 
public var seedOffset:int = 2.147483647E9

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

Constructor detail
NoiseEffect()constructor
public function NoiseEffect()
Method detail
render()method
public function render(bmd:BitmapData):void

Renders the static noise effect onto the BitmapData.

Parameters
bmd:BitmapData