Shahbaz Pothiawala
Shahbaz Pothiawala

Reputation: 1215

Animation Lags on iOS devices for apps designed in Adobe Flash Pro

I am developing iOS app and android app using adobe AIR and Flash CS6.The app contains lots of animations. Since Bitmap images do not give a good quality, I have kept the images in Vector form only. It runs fine on android devices but when I publish it on iOS device many animation lags. How can I solve this without affecting the quality of my animations? I am using AIR SDK version 4.0 and GPU rendering method. Any help would be appreciated.

Upvotes: 0

Views: 372

Answers (1)

Cristina Georgescu
Cristina Georgescu

Reputation: 446

There might be a few things you could try:

  • use TweenMax/TweenLite for your animations as the GreenSock library is optimized for performance
  • try setting cacheAsBitmap to true on the vector you're animating
  • convert vectors to cached bitmap data (http://esdot.ca/site/2012/fast-rendering-in-air-cached-spritesheets)
  • try see if using "direct" mode for rendering yields better performance; from what I've experienced GPU is not well suited for vectors

Upvotes: 2

Related Questions