Skip to main content
December 27, 2011
Question

Slow frame rate on loaded swf until app is brought back up after "Home Button"

  • December 27, 2011
  • 2 replies
  • 697 views

This is my first post. I'm in need of some help on a problem that seemed to be somewhat addresses in a previous discussion (http://forums.adobe.com/message/3357078#3357078). I'm running an app on a Toshiba that is loading a swf which is a game. It seems that the game is running very slowly when it is first loaded, but if you use the Home Button and then bring the app back up it will now run near its proper frame rate. What could be causing this, and is there a solution out there?

Thanks in advance for your time.

This topic has been closed for replies.

2 replies

Inspiring
December 29, 2011

I don't know the solution to your problem, but i have seen this behavior before, unexplained poor framerate, reboot or reactivate and its normal again... almost like framerate was changed.

(although i dont think I have noticed it in the latest air versions)

I agree you should check stage.frameRate, but i suspect it will just return the original target framerate.

keep us up to date on your findings, I am also relying on loading a swf, my app would probably suffer the same issue on that device... if it helps i can tell you other devices do not have that as a chronic problem... or even at all anymore.

Participant
December 29, 2011

Here's an approach you can try:

1. Check the FPS on Event.ACTIVATE and Event.DEACTIVATE using stage.frameRate.

2. If the FPS is lower when your app is being brought back, try to set your FPS on Event.ACTIVATE.

I'm not sure if it works though. Just try it.