Hi Judah, I'm afraid your solution wasn't really addressing my problem - although the tutorial looks fine, I'd already successfully embedded fonts.
My problem was that when embedFonts=true was turned on using ActionScript, the last line of a TextField would stop wrapping for no apparent reason. I've fixed it - but it was a kludge. It turned out to be to do with setting the _height of the TextField programmatically. What I _was_ doing was (assuming txt is my TextField and msg is my new text to display): var format:TextFormat=txt.getNewTextFormat(); var extent:Object=format.getTextExtent(msg,txt._width); txt._height=extent.textFieldHeight; txt.text=msg; This causes the problem. To fix it, I replaced it with var format:TextFormat=txt.getNewTextFormat(); var extent:Object=format.getTextExtent(msg,txt._width); txt._height=extent.textFieldHeight+2; // Here's the fix txt.text=msg; i.e. add 2 to the text field height - and it all suddenly works again. How odd. :-) Like I said, only seems to apply to fields with embedFonts=true. Thanks for your efforts, anyway. Cheers, Ian On 11/21/05, Judah Frangipane <[EMAIL PROTECTED]> wrote: > > PS This article is a work in progress. I'd like to get it right and add > a few of the other methods I have heard of. Please let me know if you've > read this and it is inaccurate. > > Judah > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

