Package | com.myflashlab.air.extensions.player.surface |
Class | public class SurfacePlayerEvent |
Inheritance | SurfacePlayerEvent flash.events.Event |
Method | Defined By | ||
---|---|---|---|
SurfacePlayerEvent(type:String, data:* = null) | SurfacePlayerEvent |
Constant | Defined 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 |
SurfacePlayerEvent | () | Constructor |
public function SurfacePlayerEvent(type:String, data:* = null)
type:String | |
data:* (default = null )
|
ON_BACK_CLICKED | Constant |
public static const ON_BACK_CLICKED:String = onBackClicked
is dispatched on Android only when the surface player is available on the screen
ON_COMPLETION_LISTENER | Constant |
public static const ON_COMPLETION_LISTENER:String = onCompletionListener
is dispatched when the video playback finishes
ON_FILE_AVAILABILITY | Constant |
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_CHANGED | Constant |
public static const ON_MEDIA_STATUS_CHANGED:String = onMediaStatusChanged
is dispatched when media state changes, "STARTED", "PAUSED", "STOPPED"
ON_TOUCH_DOWN | Constant |
public static const ON_TOUCH_DOWN:String = onMouseDownEvent
ON_TOUCH_MOVE | Constant |
public static const ON_TOUCH_MOVE:String = onMouseMoveEvent
ON_TOUCH_UP | Constant |
public static const ON_TOUCH_UP:String = onMouseUpEvent