过渡库实现

Constructor

new (xml:Xml)

需要根据XML定义的动画配置进行播放动画

Parameters:

xml

动画配置

Variables

read onlyisPlay:Bool

@:value(0)loop:Int = 0

循环次数

Methods

@:value({ parentid : null })bindBuilder (builder:Builder, ?parentid:String):Void

lastFrame ():Void

nextFrame ():Void

onFrame ():Void

@:value({ frame : -1 })play (frame:Int = -1):Void

触发播放

stop ():Void

停止播放

update ():Void