I’m having an issue when I embed fonts into my file where the performance suffers tremendously. With only six textfields and two fonts, my framerate is super choppy.
I have an image that I’ve attached a textfield to using,
_Image.createTextField(“header_txt”, _root.getNextHighestDepth(), 60, 20, 480, 40), the _Image is tweened on it’s X axis only.
I’ve embeded the font by adding the font as a symbol to the library using the add font drop down. I also enable embeded fonts, and create a new format and apply it to the textboxes I create.
If I comment out the lines, header_txt.embedFonts = true, then the file runs flawlessly. But no text appears, or the text does appear but doesn’t accept any masks/alphas. I’m at a loss as what I can do to improve performance. Also right after I get and apply the dynamic text I add, header_txt.cacheAsBitmap = true. But I see no difference in performance.
Any advice would be most wonderful thanks!