Packagecom.myflashlab.air.extensions.player.surface
Classpublic class SurfacePlayerEvent
InheritanceSurfacePlayerEvent Inheritance flash.events.Event



Public Methods
 MethodDefined By
  
SurfacePlayerEvent(type:String, data:* = null)
SurfacePlayerEvent
Public Constants
 ConstantDefined By
  ON_BACK_CLICKED : String = onBackClicked
[static] is dispatched on Android only when the surface player is available on the screen
SurfacePlayerEvent
  ON_COMPLETION_LISTENER : String = onCompletionListener
[static] is dispatched when the video playback finishes
SurfacePlayerEvent
  ON_FILE_AVAILABILITY : String = onFileAvailability
[static] is dispatched as soon as you attach a new video file from sdcard to your app and will tell you if the file is availble or not.
SurfacePlayerEvent
  ON_MEDIA_STATUS_CHANGED : String = onMediaStatusChanged
[static] is dispatched when media state changes, "STARTED", "PAUSED", "STOPPED"
SurfacePlayerEvent
  ON_TOUCH_DOWN : String = onMouseDownEvent
[static]
SurfacePlayerEvent
  ON_TOUCH_MOVE : String = onMouseMoveEvent
[static]
SurfacePlayerEvent
  ON_TOUCH_UP : String = onMouseUpEvent
[static]
SurfacePlayerEvent
Constructor Detail
SurfacePlayerEvent()Constructor
public function SurfacePlayerEvent(type:String, data:* = null)



Parameters
type:String
 
data:* (default = null)
Constant Detail
ON_BACK_CLICKEDConstant
public static const ON_BACK_CLICKED:String = onBackClicked

is dispatched on Android only when the surface player is available on the screen

ON_COMPLETION_LISTENERConstant 
public static const ON_COMPLETION_LISTENER:String = onCompletionListener

is dispatched when the video playback finishes

ON_FILE_AVAILABILITYConstant 
public static const ON_FILE_AVAILABILITY:String = onFileAvailability

is dispatched as soon as you attach a new video file from sdcard to your app and will tell you if the file is availble or not.

ON_MEDIA_STATUS_CHANGEDConstant 
public static const ON_MEDIA_STATUS_CHANGED:String = onMediaStatusChanged

is dispatched when media state changes, "STARTED", "PAUSED", "STOPPED"

ON_TOUCH_DOWNConstant 
public static const ON_TOUCH_DOWN:String = onMouseDownEvent

ON_TOUCH_MOVEConstant 
public static const ON_TOUCH_MOVE:String = onMouseMoveEvent

ON_TOUCH_UPConstant 
public static const ON_TOUCH_UP:String = onMouseUpEvent