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

Scrolls the BitmapData in either an x or y direction



Public Properties
 PropertyDefined by
  xDir : int
The x scroll amount in pixels.
ScrollEffect
  yDir : int
The y scroll amount in pixels.
ScrollEffect
Public Methods
 MethodDefined by
  
ScrollEffect(xDir:int = 0, yDir:int = 0)
ScrollEffect
  
render(bmd:BitmapData):void
Scrolls the specified BitmapData in either an x or y direction.
ScrollEffect
Property detail
xDirproperty
public var xDir:int

The x scroll amount in pixels.

yDirproperty 
public var yDir:int

The y scroll amount in pixels.

Constructor detail
ScrollEffect()constructor
public function ScrollEffect(xDir:int = 0, yDir:int = 0)

Parameters
xDir:int (default = 0) — The x scroll amount in pixels.
 
yDir:int (default = 0) — The y scroll amount in pixels.
Method detail
render()method
public function render(bmd:BitmapData):void

Scrolls the specified BitmapData in either an x or y direction.

Parameters
bmd:BitmapData