Packagecom.cmiscm.videos.stream
Classpublic class CMprogress
InheritanceCMprogress Inheritance flash.display.Sprite



Public Properties
 PropertyDefined By
  stage : Stage
[write-only] get
CMprogress
Public Methods
 MethodDefined By
  
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
Property Detail
stageproperty
stage:Stage  [write-only]

get


Implementation
    public function set stage(value:Stage):void
Constructor Detail
CMprogress()Constructor
public function CMprogress($stream:CMstream)



Parameters
$stream:CMstream
Method Detail
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