Packagecom.threerings.media
Classpublic class SimpleVideoDisplay
InheritanceSimpleVideoDisplay Inheritance flash.display.Sprite

An extremely simple video display. Click to pause/play.



Public Properties
 PropertyDefined by
  height : Number
[read-only]
SimpleVideoDisplay
  width : Number
[read-only]
SimpleVideoDisplay
Protected Properties
 PropertyDefined by
  _player : VideoPlayer
SimpleVideoDisplay
Public Methods
 MethodDefined by
  
Create a video displayer.
SimpleVideoDisplay
  
unload():void
Stop playing our video.
SimpleVideoDisplay
Protected Methods
 MethodDefined by
  
handleClick(event:MouseEvent):void
SimpleVideoDisplay
  
SimpleVideoDisplay
Public Constants
 ConstantDefined by
  NATIVE_HEIGHT : int = 240
[static]
SimpleVideoDisplay
  NATIVE_WIDTH : int = 320
[static]
SimpleVideoDisplay
Property detail
heightproperty
height:Number  [read-only]Implementation
    public function get height():Number
_playerproperty 
protected var _player:VideoPlayer
widthproperty 
width:Number  [read-only]Implementation
    public function get width():Number
Constructor detail
SimpleVideoDisplay()constructor
public function SimpleVideoDisplay(player:VideoPlayer)

Create a video displayer.

Parameters
player:VideoPlayer
Method detail
handleClick()method
protected function handleClick(event:MouseEvent):voidParameters
event:MouseEvent
handlePlayerSize()method 
protected function handlePlayerSize(event:ValueEvent):voidParameters
event:ValueEvent
unload()method 
public function unload():void

Stop playing our video.

Constant detail
NATIVE_HEIGHTconstant
public static const NATIVE_HEIGHT:int = 240
NATIVE_WIDTHconstant 
public static const NATIVE_WIDTH:int = 320