AS3/AIR: Managing Run-Time Image Data

Posted by grey on Stack Overflow See other posts from Stack Overflow or by grey
Published on 2009-07-21T04:14:23Z Indexed on 2011/01/15 14:53 UTC
Read the original article Hit count: 108

I'm developing a game with AS3 and AIR. I will have a large-ish quantity of images that I need to load for display elements. It would be nice not to embed all of the images that the game needs, thereby avoiding having them all in memory at once. That's okay in smaller projects, but doesn't make sense here.

I'm curious about strategies for loading images during run time. Since all of the files are quite small and local ( in my current project ) loading them on request might be the best solution, but I'd like to hear what ideas people have for managing this.

For bonus points, I'm also curious about solutions for loading images on-demand server-side as well.

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about memory-management