Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Loading Lag - How to Alleviate?

$
0
0

My game runs smoothly, but when a bitmap is first loaded onto the screen (usually more than one at a time) it causes some lag. The lag doesn't reoccur until you exit the app and restart it. I am curious as how to preload these images before they appear on the screen so I can make it look smoother. Its all in one SWF (no external files), and the whole SWF is only 10 MB (probably under 20MB when completed).

 

How do I preload the images so they don't cause lag during game play? (Like load it on a transitioning/loading screen)


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>