Skip navigation
Currently Being Moderated

optimizing scaled swf

Dec 5, 2012 11:21 AM

In an air app I'm using loading swfloader to load a 600x800 swf game. In flex I detect the screen size and scale the swf to full screen. The swfs are simple games but they stutter at full screen. I've used the latest flash player, cached as bitmap, GPU render and other recommended optimizations but even at 15fps its still not smooth. Is there anything else I can do (short of moving to starling)? Im assuming the graphics are being rescaled every frame and this would be very cpu/gpu intensive. Rescaling all the game graphics individually (there are several games) would be a big job but is there a way to tell the swf to prescale all the graphics at the beginning of the game or there another major optimization I can do?

  • Currently Being Moderated
    Dec 5, 2012 9:56 PM   in reply to new2oop

    Do you have any other content outside of the game?  How are you scaling?  Via StageScaleMode?

    Mark as:
  • Currently Being Moderated
    Dec 6, 2012 9:30 AM   in reply to new2oop

    It isn’t clear there is a better way.


    Are you trying to display other stuff around the game?  Or overlay something on the game?


    You might still try StageScaleMode and see if it works better.



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points