Property | Defined By | ||
---|---|---|---|
backLayers : Array | ParallaxArea | ||
foreLayers : Array | ParallaxArea | ||
![]() | viewport : MyViewport | Area |
Method | Defined By | ||
---|---|---|---|
ParallaxArea(sceneWidth:int, sceneHeight:int) | ParallaxArea | ||
addBackgroundLayer(layer:Area):void | ParallaxArea | ||
addForegroundLayer(layer:Area):void | ParallaxArea | ||
drawBackgrounds():void | ParallaxArea | ||
drawForegrounds():void | ParallaxArea | ||
![]() | Area | ||
![]() | getHeight():Number | Area | |
![]() | getWidth():Number | Area | |
![]() | render():void | Area | |
![]() | setBackgroundImage(bg:ImageBackground):void | Area | |
update():void [override] | ParallaxArea |
backLayers | property |
public var backLayers:Array
foreLayers | property |
public var foreLayers:Array
ParallaxArea | () | Constructor |
public function ParallaxArea(sceneWidth:int, sceneHeight:int)
sceneWidth:int | |
sceneHeight:int |
addBackgroundLayer | () | method |
addForegroundLayer | () | method |
drawBackgrounds | () | method |
public function drawBackgrounds():void
drawForegrounds | () | method |
public function drawForegrounds():void
update | () | method |
override public function update():void