Packageverlocity.display.ui
Classpublic class Scroll
InheritanceScroll Inheritance UIElement Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
 InheritedoriginX : Number
UIElement
 InheritedoriginY : Number
UIElement
Protected Properties
 PropertyDefined By
 InheritednScale : Number
UIElement
Public Methods
 MethodDefined By
  
Scroll(sStage:Stage)
Scroll
 Inherited
Clear():void
Clears all graphics drawn on the UI element.
UIElement
  
Dispose():void
[override]
Scroll
 Inherited
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
 Inherited
GetScale():Number
Returns the scale of the UI element.
UIElement
  
GetWidth():int
Scroll
  
Insert(dispObj:DisplayObject):void
Scroll
 Inherited
ResetPos():void
Resets the X and Y position of the UI element to its original spawn position.
UIElement
 Inherited
SetOriginPos(nPosX:Number, nPosY:Number):void
Overrides origin position
UIElement
 Inherited
SetPos(nPosX:Number, nPosY:Number):void
Sets the X and Y position of the UI element.
UIElement
 Inherited
SetScale(nSetScale:Number):void
Sets the scale of the UI element.
UIElement
  
SetSize(iSetWidth:int, iSetHeight:int):void
Scroll
  
SetSpeed(nSetSpeed:Number):void
Scroll
Protected Methods
 MethodDefined By
  
Down():void
Scroll
  
DrawBG():void
Scroll
  
Scroll
  
Out():void
Scroll
  
Over():void
Scroll
  
Up():void
Scroll
Constructor Detail
Scroll()Constructor
public function Scroll(sStage:Stage)



Parameters
sStage:Stage
Method Detail
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

Returns
int
GetWidth()method 
public function GetWidth():int

Returns
int
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