Welcome To Snipplr
Everyone's Recent ActionScript 3 Snippets Tagged text
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Extremely simple... just pass in the string you want to ellipse, and the position you want to do it at. The code takes care of the rest.
2
553
posted 15 years ago by cessnajumpin
This code sets the size of a text field and truncates the text to fit, adding an ellipse if necessary.
2
897
posted 15 years ago by ghwilson4456