take a look to this method: TextFormat.getTextExtent() at:
http://livedocs.macromedia.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00001840.html

I hope it help,
cheers, Diego

lists wrote:

Hi there - I was wondering if it was possible to determine how large a text field would need to be to accomidate the text assigned to it? Say for example i am using the createTextField in actionscript, I can pass the parameter on the width, but I need to determine that before I create the text field... ideas?

Thanks!

::::::::::::::::::::::
Dustin
::::::::::::::::::::::

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to