Package | com.cmiscm.videos.stream |
Class | public class CMprogress |
Inheritance | CMprogress ![]() |
Property | Defined By | ||
---|---|---|---|
stage : Stage [write-only]
get
| CMprogress |
Method | Defined By | ||
---|---|---|---|
CMprogress($stream:CMstream) | CMprogress | ||
addDefaultProgress($tW:int, $tH:int, $progress_color:uint, $buffer_color:uint, $bg_color:uint, $be_control:Boolean = false, $control_tY:int = 0, $control_tH:int = 0, $be_hand:Boolean = false, $buffer_limit:int = 0):void
draw default progress
| CMprogress | ||
clear():void
clear
| CMprogress | ||
destroy():void
destroy
| CMprogress | ||
init():void
init
| CMprogress | ||
setWidth($tW:int):void
change progress width
| CMprogress | ||
update($bufferPercent:Number, $currentPercent:Number):void
update
| CMprogress |
stage | property |
stage:Stage
[write-only] get
public function set stage(value:Stage):void
CMprogress | () | Constructor |
addDefaultProgress | () | method |
public function addDefaultProgress($tW:int, $tH:int, $progress_color:uint, $buffer_color:uint, $bg_color:uint, $be_control:Boolean = false, $control_tY:int = 0, $control_tH:int = 0, $be_hand:Boolean = false, $buffer_limit:int = 0):void
draw default progress
Parameters
$tW:int | |
$tH:int | |
$progress_color:uint | |
$buffer_color:uint | |
$bg_color:uint | |
$be_control:Boolean (default = false )
| |
$control_tY:int (default = 0 )
| |
$control_tH:int (default = 0 )
| |
$be_hand:Boolean (default = false )
| |
$buffer_limit:int (default = 0 )
|
clear | () | method |
public function clear():void
clear
destroy | () | method |
public function destroy():void
destroy
init | () | method |
public function init():void
init
setWidth | () | method |
public function setWidth($tW:int):void
change progress width
Parameters
$tW:int |
update | () | method |
public function update($bufferPercent:Number, $currentPercent:Number):void
update
Parameters
$bufferPercent:Number | |
$currentPercent:Number |