Property | Defined By | ||
---|---|---|---|
viewport : MyViewport | Area | ||
xVelocity : Number | ScrollingArea | ||
yVelocity : Number | ScrollingArea |
Method | Defined By | ||
---|---|---|---|
ScrollingArea(bg:ImageBackground, repeats:Boolean, width:int = 0, height:int = 0, xVelocity:Number = 0, yVelocity:Number = 0) | ScrollingArea | ||
Area | |||
getHeight():Number | Area | ||
getWidth():Number | Area | ||
render():void [override] | ScrollingArea | ||
setBackgroundImage(bg:ImageBackground):void | Area | ||
update():void [override] | ScrollingArea |
xVelocity | property |
public var xVelocity:Number
yVelocity | property |
public var yVelocity:Number
ScrollingArea | () | Constructor |
public function ScrollingArea(bg:ImageBackground, repeats:Boolean, width:int = 0, height:int = 0, xVelocity:Number = 0, yVelocity:Number = 0)
bg:ImageBackground | |
repeats:Boolean | |
width:int (default = 0 )
| |
height:int (default = 0 )
| |
xVelocity:Number (default = 0 )
| |
yVelocity:Number (default = 0 )
|
render | () | method |
override public function render():void
update | () | method |
override public function update():void