Class com.bumpslide.ui.Slider

????
   +--MovieClip
      +--com.bumpslide.ui.Slider

Implemented Interfaces

IResizable

Field Index

addEventListener, EVENT_VALUE_CHANGE, max, min, removeEventListener, style, value

Method Index

new Slider()

backgroundPress(), create(), draggerOut(), draggerOver(), drawBackground(), drawDragger(), drawLine(), setSize(), startDragging(), stopDragging(), whileDragging()

Constructor Detail

Slider

function Slider()

Field Detail

EVENT_VALUE_CHANGE

static public EVENT_VALUE_CHANGE:String

style

public style:Object

value

public value:Number
Current slider value

min

public min:Number
Minimum slider value

max

public max:Number
Maximum slider value

addEventListener

public addEventListener:Function

removeEventListener

public removeEventListener:Function

Method Detail

create

static public function create(instance_name:String, timeline_mc:MovieClip):Slider

Static method to create an instance No need to create a dummy clip in our library this way.

Parameters

instance_name
timeline_mc

Return

setSize

public function setSize(w:Number, h:Number)

Sets component's size (width and height)

Parameters

wwidth
hheight

Specified By

setSize() in com.bumpslide.ui.IResizable

drawBackground

function drawBackground()

drawLine

function drawLine()

drawDragger

function drawDragger()

draggerOver

function draggerOver()

draggerOut

function draggerOut()

backgroundPress

function backgroundPress()

startDragging

function startDragging()

whileDragging

function whileDragging(snapping)

stopDragging

function stopDragging()