Packagestencyl.api.engine.bg
Classpublic class ScrollingArea
InheritanceScrollingArea Inheritance Area Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedviewport : MyViewport
Area
  xVelocity : Number
ScrollingArea
  yVelocity : Number
ScrollingArea
Protected Properties
 PropertyDefined By
 Inheritedbg : ImageBackground
Area
 Inheritedheight : int
Area
 Inheritedwidth : int
Area
Public Methods
 MethodDefined By
  
ScrollingArea(bg:ImageBackground, repeats:Boolean, width:int = 0, height:int = 0, xVelocity:Number = 0, yVelocity:Number = 0)
ScrollingArea
 Inherited
Area
 Inherited
getHeight():Number
Area
 Inherited
getWidth():Number
Area
  
render():void
[override]
ScrollingArea
 Inherited
Area
  
update():void
[override]
ScrollingArea
Protected Methods
 MethodDefined By
 Inherited
setDimension(width:int, height:int):void
Area
Property Detail
xVelocityproperty
public var xVelocity:Number

yVelocityproperty 
public var yVelocity:Number

Constructor Detail
ScrollingArea()Constructor
public function ScrollingArea(bg:ImageBackground, repeats:Boolean, width:int = 0, height:int = 0, xVelocity:Number = 0, yVelocity:Number = 0)



Parameters
bg:ImageBackground
 
repeats:Boolean
 
width:int (default = 0)
 
height:int (default = 0)
 
xVelocity:Number (default = 0)
 
yVelocity:Number (default = 0)
Method Detail
render()method
override public function render():void

update()method 
override public function update():void