TextFieldUtils
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Classpath: | playground.classes.util.TextFieldUtils |
| File last modified: | Monday, 18 September 2006, 19:00:55 |
Summary
Class methods
Class methods
trimTextFieldText
static function trimTextFieldText (
inTextField:TextField,
inTextWidth:Number,
inAbbreviatedString:String) : Void
Trims the text to fit a given textfield.
Parameters:
inTextField :
the TextField to set the new text to
inTextWidth :
the maximum width of the text in pixels
inAbbreviatedString:
the text that indicates that trimming has occurred; commonly this is "..."