Text measurement in actionScript 3

I need to find out the text measurement of some string in actionScript 3