TextDisplay - utilities for uniformly styling, clearing, and animating text in display clip classes.
static public function clear(o:MovieClip):Void
Clear all textfields in the object
o | (MovieClip) |
Void
static public function style(o:MovieClip):Void
Apply the App.css stylesheet to all textfields in the object.
o | (MovieClip) |
Void
static public function show(tf:TextField, str:String):Void
Apply stylesheet to text and intro string.
tf | (TextField) |
str | (String) |
Void
static public function hide(o:Array, isAnim:Boolean):Void
Hide 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):Void
Reveal 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):Void
anim text - atype wrapper.
tf | (TextField) |
str | (String) |
cb | (Function) |
Void