KoolMoves AS3 API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class MediaPlayerSlider

Package | km.components
Class | public class MediaPlayerSlider
Inheritance | MediaPlayerSlider UIComponent flash.display.Sprite

The MediaPlayerSlider class is used by the MediaPlayer component class and not intended for separate use.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | base : Image [read-only] >> Reference to the base image. | MediaPlayerSlider
|  | drag : BaseButton [read-only] >> Reference to the drag button. | MediaPlayerSlider
|  | duotone : Array The duotone property can be used to convert the colors of the component into duotone. | UIComponent
|  | enabled : Boolean Specifies if the component is enabled. If a component is disabled, it will be turned into grayscale and become partly transparent. | UIComponent
|  | fill : Image [read-only] >> Reference to the fill image. | MediaPlayerSlider
|  | fillDirection : int [write-only] Fill direction; 0 = left > right, 1 = bottom > top. | MediaPlayerSlider
|  | toolTip : String Text to use as toolTip when ToolTip is enabled. | UIComponent
|  | value : Number | MediaPlayerSlider
|  | x : Number | UIComponent
|  | y : Number | UIComponent

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined by
--- | --- | ---
|  | MediaPlayerSlider() | MediaPlayerSlider
|  | clone():* Returns a clone of the component. The skin of the component is cloned but other things like the text of a label or the items of a list aren't. | UIComponent
|  | move(x:int, y:int, animationMode:int = 0, animationFrames:int = 12, easeInOut:Boolean = false):void Moves the component to the specified coordinates. | UIComponent
|  | setDragProperties(x:int, y:int, delta:int):void Make sure to set drag properties after the skin of the drag button has been set. | MediaPlayerSlider
|  | setProperties(o:Object):void Sets a number of properties at once. | UIComponent

Events
Hide Inherited Events
Show Inherited Events

| Event | Summary | Defined by
--- | --- | --- | ---
|  | animationComplete | The animationComplete event is broadcasted when an animated move is completed. | UIComponent
|  | drag |  | MediaPlayerSlider

Property detail

base | property

`base:Image` [read-only]

>> Reference to the base image.

Implementation
`public function get base():Image`

drag | property |

`drag:BaseButton` [read-only]

>> Reference to the drag button.

Implementation
`public function get drag():BaseButton`

fill | property |

`fill:Image` [read-only]

>> Reference to the fill image.

Implementation
`public function get fill():Image`

fillDirection | property |

`fillDirection:int` [write-only]

Fill direction; 0 = left > right, 1 = bottom > top.

Implementation
`public function set fillDirection(value:int):void`

value | property |

`value:Number` [read-write]

Implementation
`public function get value():Number`
`public function set value(value:Number):void`
Constructor detail

MediaPlayerSlider | () | constructor

`public function MediaPlayerSlider()`
Method detail

setDragProperties | () | method

`public function setDragProperties(x:int, y:int, delta:int):void`

Make sure to set drag properties after the skin of the drag button has been set.

Parameters

| `x:int`
| `y:int`
| `delta:int`

Event detail

drag | event

Event object type: `flash.events.Event`

Last update : 04/05/2008