UIEvent

Kind of class: public class
Package:
Inherits from:
  • Event
Version: 4 Apr 2010
Author: John Polacek, john@johnpolacek.com
Classpath: com.johnpolacek.events.UIEvent
File last modified: Friday, 12 November 2010, 15:34:14
A UIEvent object is generated by media display components and can be used to pass number values (e.g. progress percent)

Summary

Constructor
  • UIEvent (type:String, val:Number, bubbles:Boolean = true, cancelable:Boolean = false)
Constants
Instance properties
  • value : Number
    • Number passed via the UIEvent
Instance methods

Constructor

UIEvent

function UIEvent(type:String, val:Number, bubbles:Boolean = true, cancelable:Boolean = false)

Constants

BUTTON_SELECT

static const BUTTON_SELECT:String = "buttonSelect"

LOAD_COMPLETE

static const LOAD_COMPLETE:String = "loadComplete"

PAUSE_CLICK

static const PAUSE_CLICK:String = "pauseClick"

PLAYBACK_FINISH

static const PLAYBACK_FINISH:String = "playbackFinish"

PLAYBACK_START

static const PLAYBACK_START:String = "playbackStart"

PLAY_CLICK

static const PLAY_CLICK:String = "playClick"

PROGRESS_UPDATE

static const PROGRESS_UPDATE:String = "progressUpdate"

SCROLLBAR_MOVE

static const SCROLLBAR_MOVE:String = "scrollbarMove"

VOLUME_ADJUST

static const VOLUME_ADJUST:String = "volumeAdjust"

Instance properties

value

value:Number(read,write)

Number passed via the UIEvent

Instance methods

clone

override function clone() : Event
Overrides
  • Event.clone