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
Copy link to clipboard
Copied
Have you tried setting your stage quality to Low?
Copy link to clipboard
Copied
You mean set it to low while dragging?
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.
Copy link to clipboard
Copied
If I set it low, would it affect the crispiness of the text?
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.
Copy link to clipboard
Copied
Thanks. will try that.
Copy link to clipboard
Copied
Are you using CPU or GPU mode?
Also, how are you scrolling the display list?
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).
Copy link to clipboard
Copied
Hi Donny,
We are using GPU mode and we use panning up and down to scroll the list.
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.
Copy link to clipboard
Copied
Thanks. We will try that.