I have a flash application for navigating through a relatively large amount if medium sized images (usually around 800x600). To not have to write one Embed statement for each image I generate a few spritesheets using my images which usually gives me two large spritesheets (around 4000x4000, larger ones causes memory issues). I then embed these on startup.
I have now however run into the problem that I can’t embed more than two of these spritesheets, or the build fails. I’m assuming this has to do with the size of each spritesheet but I do not know as no error message is shown.
So, is there a better, and functional, way to display lots of relatively large images? I only need to display one at a time, but I need to be able to switch between them relatively fast.