I'm curious... If you're a newbie, what are you doing that requires
access to low-level Flash objects like TextField? What are the Flex text
components not doing that you need?

 

- Gordon

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Hastings
Sent: Thursday, November 30, 2006 5:30 AM
To: [email protected]
Subject: [flexcoders] fit text width & height to amount of text

 

i'm having another newbie flex brain fog ;-) trying to set up a
background color for a TextField that is more or less the width &
height of the it's text. i've tried looping thru the text looking at
TextLineMetrics but i still end up w/text backgrounds that are too
wide, something along the lines of (where [ ] represent the
background):

[test text ]

any suggestions?

thanks.

 

Reply via email to