TODO: use object pool to optimize memmory and performance
The smallest block of texts which share the same speed
public var completed:Signal
public var duration:uint = 0
public var embedFonts:Boolean = false
public var font:String = "Verdana"
height:Number
[read-write]Implementation
public function get height():Number
public function set height(value:Number):void
public var next:TextBlock
noSpaceWidth:Number
[read-only]Implementation
karplayer_internal function get noSpaceWidth():Number
public var size:Number = 30
public var strokeColor:uint = 0xFFFFFF
public var syncStrokeColor:uint = 0xFFFFFF
public var syncTextColor:uint = 0xFF9600
text:String
[read-write]Implementation
public function get text():String
public function set text(value:String):void
public var textColor:uint = 0x8AD420
width:Number
[read-write]Implementation
public function get width():Number
public function set width(value:Number):void
public function TextBlock()
public function dispose():void
public function play():void
TODO: consider split the words and animate them equally in time (instead of text length right now)
public function render():void
public function reset():void
public function setStyle(normalStyle:LyricStyle, syncStyle:LyricStyle):void
Parameters
public static const VERSION:String = "0.0.18"
©2010 Tran Trong Thanh - trongthanh@gmail.com