Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

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

Participant ,
Jul 20, 2011 Jul 20, 2011

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?

TOPICS
Development
540
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 20, 2011 Jul 20, 2011

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 25, 2011 Jul 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 26, 2011 Jul 26, 2011
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines