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

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

Participant ,
Jul 20, 2011 Jul 20, 2011

Copy link to clipboard

Copied

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

Views

492

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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