Hi,
I have created a dynamic textField called info_txt in actionscript and am loading css styled txt files into it. I have then added a function which detects weather the loaded text height [info_txt.textHeight] is greater than the textField height [info_txt.height]. If it is then my scroll buttons appear, if not they vanish.
This is all working as planned, however there is a problem… If I add images to the external text files they are displayed within the textField, BUT their presence does not in anyway effect the info_txt.textHeight. Flash seems to just calculate the textHeight regardless of the fact that the images cause the text to be longer.
Does anyone know what I need to do to fix this?
Thanks,
Julian