I have a game that only needs to load about 2MB of assets before it’s playable, but there are about 8MB of other assets (mostly music for later stages) in the SWF. I’m trying to figure out a way to have an internal preloader (standard progress bar preloader) for the first 2MB, then go to the Main Menu screen and continue loading the other 8MB in the background.
The final deliverable game must be a single SWF file, which means:
I cannot dynamically load assets from a server.
I cannot break the final SWF into multiple files.
I’ve considered putting all my required assets (~2MB) on, say, frame 3, and then starting the game once frame 3 has been fully loaded, however:
- I don’t know how I’d make a progress bar work using this method, and
- I don’t know, off hand, how to load the remaining 8MB of data without stalling the game.
Any assistance, examples, or links that would aid in solving this would be appreciated. Thanks in advance for your help.