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

The scrolling of a long list of events is quite slow in iOS

Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

I got a long list of  events loaded dynamically from database in flash and when i test it on iOS, the scrolling of the list is quite slow. Anybody knows what's the workaround?

thanks

TOPICS
Development

Views

992

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Have you tried setting your stage quality to Low?

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

You mean set it to low while dragging?

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Just set it to low in general as the user enters the frame, if most of your movie clips are bitmaps it will not affect the look.

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

If I set it low, would it affect the crispiness of the text?

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

It certainly might I don't have a clear answer for you but its worth a try, it one simple line of code so give it a shot and report back the results.

stage.quality = StageQuality.LOW;

The setting options are BEST, HIGH, MEDIUM & LOW.

If low doesn't work maybe try one of the other settings.

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Thanks. will try that.

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Are you using CPU or GPU mode?

Also, how are you scrolling the display list?

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
LEGEND ,
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Something else to think about: Are you using cacheasbitmap on the movieclip that contains the items? You shouldn't do that, if you need to cacheasbitmap do it on the individual items, otherwise you're making a texture that exceeds the limits of the device (eg, 1024 pixels for iPhone, 2048 pixels for iPad).

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Hi Donny,

We are using GPU mode and we use panning up and down to scroll the list.

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
Guest
Nov 10, 2011 Nov 10, 2011

Copy link to clipboard

Copied

Do the individual events loaded need to be selectable?

If not, try BitmapData.draw() everything that's being scrolled and create a single bitmap.

Removing everything else once the bitmap is on stage.

Maybe also try panning using a scrollRect instead in addition to this.

If the individual events need to be selectable, seperate them into bitmaps.

Essentially, when in GPU mode, I've found things function best with bitmaps.

So converting everything possible, and grouping into single bitmaps as much as possible helps.

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
Guest
Nov 13, 2011 Nov 13, 2011

Copy link to clipboard

Copied

LATEST

Thanks. We will try that.

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