buttonWidth:Number
[read-write]Implementation
public function get buttonWidth():Number
public function set buttonWidth(value:Number):void
public static var DEFAULT_BUTTON_WIDTH:Number = 50
explicitButtonHeight:Number
[write-only]Implementation
public function set explicitButtonHeight(value:Number):void
horizontalScrollPosition:Number
[read-write]Implementation
public function get horizontalScrollPosition():Number
public function set horizontalScrollPosition(value:Number):void
maxHorizontalScrollPosition:Number
[read-only]Implementation
public function get maxHorizontalScrollPosition():Number
maxVerticalScrollPosition:Number
[read-only]Implementation
public function get maxVerticalScrollPosition():Number
public var scrollJump:Number = 10
public var scrollSpeed:Number = 10
startScrollingEvent:String
[read-write]Implementation
public function get startScrollingEvent():String
public function set startScrollingEvent(value:String):void
stopScrollingEvent:String
[read-write]Implementation
public function get stopScrollingEvent():String
public function set stopScrollingEvent(value:String):void
verticalScrollPosition:Number
[read-write]Implementation
public function get verticalScrollPosition():Number
public function set verticalScrollPosition(value:Number):void
public function ButtonScrollingCanvas()
public override function addChild(child:DisplayObject):DisplayObject
If we have already created the innerCanvas element, then we add the child to
that. If not, that means we haven't called createChildren yet. So what we do
is add the child to this main Canvas, and once we call createChildren we'll
remove all the children and switch them over to innerCanvas.
Parameters
Returns
public override function addChildAt(child:DisplayObject, index:int):DisplayObject
Parameters
| child:DisplayObject |
|
| index:int |
Returns
protected override function createChildren():void
protected function enableOrDisableButtons():void
We check to see if the buttons should be shown. If we can't scroll in
one direction then we don't show that particular button.
public override function getChildAt(index:int):DisplayObject
Parameters
Returns
public override function getChildByName(name:String):DisplayObject
Parameters
Returns
public override function getChildIndex(child:DisplayObject):int
Parameters
Returns
public override function getChildren():Array
Returns
public override function initialize():void
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Parameters
| unscaledWidth:Number |
|
| unscaledHeight:Number |