VideoLoadEvent

Kind of class:public class
Package:org.casalib.events
Inherits from:LoadEvent < ProgressEvent
Dispatched by:
Version:10/27/08
Author:Aaron Clinger
Classpath:org.casalib.events.VideoLoadEvent
File last modified:Wednesday, 31 December 2008, 20:18:28
An event dispatched from VideoLoad.

Summary


Constructor
  • VideoLoadEvent (type:String, bubbles:Boolean = false, cancelable:Boolean = false)
    • Creates a new VideoLoadEvent.
Constants
Constants inherited from LoadEvent
Instance properties
Instance properties inherited from LoadEvent
Instance methods
Instance methods inherited from LoadEvent

Constructor

VideoLoadEvent

public function VideoLoadEvent (
type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new VideoLoadEvent.
Parameters:
type :
The type of event.
bubbles :
Determines whether the Event object participates in the bubbling stage of the event flow.
cancelable:
Determines whether the Event object can be canceled.

Constants

BUFFERED

public static const BUFFERED:String = 'buffered'
(read)

PROGRESS

public static const PROGRESS:String = 'progress'
(read)

Instance properties

buffer

public buffer:Percent
(read,write)

The percent the video has buffered.
Usage note:
  • VideoLoad will report 0 percent until two seconds of load time has elapsed.

millisecondsUntilBuffered

public millisecondsUntilBuffered:int
(read,write)

The time remaining in milliseconds until the video has completely buffered.
Usage note:
  • VideoLoad will report -1 milliseconds until two seconds of load time has elapsed.

Instance methods

clone

override public function clone (
) : Event

Returns:
  • Duplicates an instance of the event.
Overrides:

toString

override public function toString (
) : String

Returns:
  • A string containing all the properties of the event.
Overrides: