| Package | com.threerings.media |
| Class | public class SimpleVideoDisplay |
| Inheritance | SimpleVideoDisplay flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| height : Number [read-only]
| SimpleVideoDisplay | ||
| width : Number [read-only]
| SimpleVideoDisplay | ||
| Property | Defined by | ||
|---|---|---|---|
| _player : VideoPlayer | SimpleVideoDisplay | ||
| Method | Defined by | ||
|---|---|---|---|
|
SimpleVideoDisplay(player:VideoPlayer)
Create a video displayer.
| SimpleVideoDisplay | ||
|
unload():void
Stop playing our video.
| SimpleVideoDisplay | ||
| Method | Defined by | ||
|---|---|---|---|
|
handleClick(event:MouseEvent):void
| SimpleVideoDisplay | ||
|
handlePlayerSize(event:ValueEvent):void
| SimpleVideoDisplay | ||
| Constant | Defined by | ||
|---|---|---|---|
| NATIVE_HEIGHT : int = 240 [static]
| SimpleVideoDisplay | ||
| NATIVE_WIDTH : int = 320 [static]
| SimpleVideoDisplay | ||
| height | property |
height:Number [read-only]Implementation
public function get height():Number
| _player | property |
protected var _player:VideoPlayer
| width | property |
width:Number [read-only]Implementation
public function get width():Number
| SimpleVideoDisplay | () | constructor |
public function SimpleVideoDisplay(player:VideoPlayer)Create a video displayer.
Parametersplayer:VideoPlayer |
| handleClick | () | method |
protected function handleClick(event:MouseEvent):voidParameters
event:MouseEvent |
| handlePlayerSize | () | method |
| unload | () | method |
public function unload():voidStop playing our video.
| NATIVE_HEIGHT | constant |
public static const NATIVE_HEIGHT:int = 240
| NATIVE_WIDTH | constant |
public static const NATIVE_WIDTH:int = 320