Ok, I figure out that if I have wordwrap AND autosize set to true,
then the _height property of the textField does take into account any
width and height attributes you specify for the image. This is only
a minor inconvenience, and much better than setting up an interval to
check for when the image has loaded and then continuing on with my code.
Josh
On Jan 5, 2006, at 11:26 AM, Josh Gormley wrote:
I'm dynamically populating a textField with HTML and would like to
get the entire height of the textField, including embedded images.
Is there a method for determining the height of a textField that
includes an embedded image? Both the textEntent and _height values
do not take the image into account, even if I specify a width and
height for the image. I did notice that the help docs for
getTextExtent mentions that text is treated as plain text, not HTML
text, so that would explain why textExtent doesn't work. Is there
another way?
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders