Skip to main content
Inspiring
July 20, 2011
Question

What are my options for speeding up a TextField? ( + 2 bugs )

  • July 20, 2011
  • 2 replies
  • 549 views

Hi all,

I have a large text that I need to move around (I am making a scrolling viewport).

To speed up the very very slow textfield animation, I tried setting cacheasbitmap to true, but if I do so, the textfield completly disapears on the iPhone (but is perfectly visible on the Desktop : BUG ). Actually, everything I set cacheAsBitmap = true on, dissapears.

My other attempt was drawing the textfield into a bitmap, but eventhough the bitmap looks great on the Desktop, it looks really... jaggy (?) on the iPhone and is unreadable. I have tried playing with the snapping and smoothing settings, to no avail.

So, what else can I try?

This topic has been closed for replies.

2 replies

NielzzAuthor
Inspiring
July 25, 2011

Ok, to speed things up I did the following:

  • Install air 2.7 into the Flash IDE (doh!)
  • Don't use embedded fonts

I actually runs quite good on CPU rendering now.

Inspiring
July 26, 2011

How can you tell it is faster to not use embedded fonts? I have been checking for events and any indication for when the text has rendered and I have found none.

NielzzAuthor
Inspiring
July 20, 2011

I guess I found a bug http://bugs.adobe.com/jira/browse/SDK-30836