Hi there

I'm getting a strange error when dynamically adding a TF and turning
on the embedFonts property. Without the property turned on, all the
text is displayed, but with embedFonts set to true I only see the text
up to 'ABCDEFGH'. This is very odd behavior, am I missing something
blatantly obvious?

Code:
        var fmt:TextFormat = new TextFormat()
        fmt.font = "Verdana"
        fmt.color = 0x999999
                                
        var toc:TextField = new TextField()
        toc.antiAliasType = AntiAliasType.NORMAL        
        toc.autoSize = TextFieldAutoSize.LEFT
        toc.selectable = false
        toc.multiline = true    
        toc.defaultTextFormat = fmt
        toc.embedFonts = true

Tracy


Reply via email to