Method | Defined By | ||
---|---|---|---|
Scroll(sStage:Stage) | Scroll | ||
![]() | Clear():void
Clears all graphics drawn on the UI element. | UIElement | |
Dispose():void [override] | Scroll | ||
![]() | DrawRect(uiColor:uint = 0xFFFFFF, nAlpha:Number = 1, iWidth:int = 0, iHeight:int = 0, bLine:Boolean = false, iLineThickness:int = 1, uiLineColor:uint = 0xFFFFFF, nLineAlpha:Number = 1, bRounded:Boolean = false, iRoundness:int = 10, iOffsetX:int = 0, iOffsetY:int = 1):void
Draws a rectangle onto the UI element. | UIElement | |
GetHeight():int | Scroll | ||
![]() | GetScale():Number
Returns the scale of the UI element. | UIElement | |
GetWidth():int | Scroll | ||
Insert(dispObj:DisplayObject):void | Scroll | ||
![]() | ResetPos():void
Resets the X and Y position of the UI element to its original spawn position. | UIElement | |
![]() | SetOriginPos(nPosX:Number, nPosY:Number):void
Overrides origin position
| UIElement | |
![]() | SetPos(nPosX:Number, nPosY:Number):void
Sets the X and Y position of the UI element. | UIElement | |
![]() | SetScale(nSetScale:Number):void
Sets the scale of the UI element. | UIElement | |
SetSize(iSetWidth:int, iSetHeight:int):void | Scroll | ||
SetSpeed(nSetSpeed:Number):void | Scroll |
Method | Defined By | ||
---|---|---|---|
Down():void | Scroll | ||
DrawBG():void | Scroll | ||
DrawScrollBar():void | Scroll | ||
Out():void | Scroll | ||
Over():void | Scroll | ||
Up():void | Scroll |
Scroll | () | Constructor |
public function Scroll(sStage:Stage)
sStage:Stage |
Dispose | () | method |
override public function Dispose():void
Down | () | method |
protected function Down():void
DrawBG | () | method |
protected function DrawBG():void
DrawScrollBar | () | method |
protected function DrawScrollBar():void
GetHeight | () | method |
public function GetHeight():int
Returnsint |
GetWidth | () | method |
public function GetWidth():int
Returnsint |
Insert | () | method |
public function Insert(dispObj:DisplayObject):void
Parameters
dispObj:DisplayObject |
Out | () | method |
protected function Out():void
Over | () | method |
protected function Over():void
SetSize | () | method |
public function SetSize(iSetWidth:int, iSetHeight:int):void
Parameters
iSetWidth:int | |
iSetHeight:int |
SetSpeed | () | method |
public function SetSpeed(nSetSpeed:Number):void
Parameters
nSetSpeed:Number |
Up | () | method |
protected function Up():void