initEvents
Usage
private function initEvents():void
Description
Initializes the slider and timer events.
Returns
Nothing
enable
Usage
public function enable():void
Description
Enables the controls of the SliderUI.
Returns
void
disable
Usage
public function disable():void
Description
Disables the controls of the SliderUI.
Returns
void
destroy
Usage
public function destroy():void
Description
Cleans up the SliderUI for garbage collection.
Returns
void
handleMouseDown
Usage
private function handleMouseDown($evt:MouseEvent):void
Description
Starts the dragging of the slider and starts the timer to dispatch percentage.
Returns
Nothing
handleMouseUp
Usage
private function handleMouseUp($evt:MouseEvent):void
Description
Stops the slider dragging and timer.
Returns
Nothing
updateInfo
Usage
private function updateInfo($evt:TimerEvent):void
Description
Updates the info of the slider's position.
Returns
Nothing