Hi,

 

You might also try checking out the migration appendix:

 

http://livedocs.adobe.com/flex/201/langref/migration.html

 

Cheers,

Petro

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun
Sent: Monday, April 23, 2007 5:14 PM
To: [email protected]
Subject: [flexcoders] How to measure text?

 

Does anyone know of an equivalent to the TextFormat.getTextExtent() 
method of AS2 in AS3?

I have a fixed size box that I place text in. If the text doesn't fit, 
I want to programmatically adjust the font size so that it does (if 
possible).

So does anyone know a way of getting the size of a string of text that 
accounts for the format/font of the text?

Thanks,
shaun

 

Reply via email to