Static class wrapping various text animation effects
static public function counter(tf:TextField, n:Number, steps:Number, cb:Function):Void
Count up any positive numeric value in a text field
tf | (TextField) |
n | (Number) |
steps | (Number) |
cb | (Function) |
Void
static public function atype(tf:TextField, str:String, cb:Function):Void
Easing alpha type in text animation
tf | (TextField) target text |
str | (String) string to animate in |
cb | (Function) callback |
Void
static public function uatype(tf:TextField, cb:Function):Void
easing alpha type out text animation
tf | (TextField) target text |
cb | (Function) callback |
Void
static public function pushtype(tf:TextField, str:String, ms:Number, htm:Boolean, cb:Function):Void
text animation pushes text into view
tf | (TextField) target text |
str | (String) string to animate in |
ms | (Number) miliseconds |
htm | (Boolean) support htmlText |
cb | (Function) callback |
Void
static public function itype(tf:TextField, str:String, cursor:String, isFocus:Boolean, alphaStep:Number, pi:Number, ms:Number, cb:Function):Void
text animation "types" text into field
tf | (TextField) target text |
str | (String) string to animate in |
cursor | (String) cursor character |
isFocus | (Boolean) switch textfield to input type and add caret to end of string |
alphaStep | (Number) alpha fade increment |
pi | (Number) pause intervals |
ms | (Number) miliseconds |
cb | (Function) callback |
Void
static public function otype(tf:TextField, cursor:String, isFocus:Boolean, ms:Number, cb:Function):Void
text animation "types" text out of field
tf | (TextField) target text |
cursor | (String) cursor character |
isFocus | (Boolean) switch textfield to input type and add caret to end of string |
ms | (Number) miliseconds |
cb | (Function) callback |
Void
static public function iotype(tf:TextField, str:String, cursor:String, isFocus:Boolean, alphaStep:Number, pauseIndex:Number, ms:Number, cb:Function):Void
text animation type text in, pauses and types text out of field
tf | (TextField) target text |
str | (String) string to animate in |
cursor | (String) cursor character |
isFocus | (Boolean) switch textfield to input type and add caret to end of string |
alphaStep | (Number) alpha fade increment |
ms | (Number) miliseconds |
cb | (Function) callback |
Void