TextDisplay - utilities for uniformly styling, clearing, and animating text in display clip classes.
static public function clear(o:MovieClip):VoidClear all textfields in the object
o | (MovieClip) |
Void
static public function style(o:MovieClip):VoidApply the App.css stylesheet to all textfields in the object.
o | (MovieClip) |
Void
static public function show(tf:TextField, str:String):VoidApply stylesheet to text and intro string.
tf | (TextField) |
str | (String) |
Void
static public function hide(o:Array, isAnim:Boolean):VoidHide a textfield (visible false, alpha 0)
o | (Array) - array of textfields or individual field |
isAnim | (Boolean) - animate the transition |
Void
static public function reveal(o:Array, isAnim:Boolean):VoidReveal a textfield (visible true, alpha 100)
o | (Array) - array of textfields |
isAnim | (Boolean) - animate the transition |
Void
static public function anim(tf:TextField, str:String, cb:Function):Voidanim text - atype wrapper.
tf | (TextField) |
str | (String) |
cb | (Function) |
Void