At 4/30/11 09:45 PM, AwesomeTurtwig wrote:
At 4/30/11 09:17 PM, crapatflash wrote:
Does your game have a lot of sounds/images/components? Anything that it has to load externally?All the files are in the library. Thanks for helping, but I could still use more.
In any case, the easiest thing to do is to go into the publishing settings, click on the "Settings" button next to the 'Script' box and change the export frame for classes to frame 2.
Its actually exactly what you need.
This is a classic problem with flash and making preloaders. Keep in mind, I was not aware of his suggestion of changing to export to frame 2. Sounds like it might work though, so give it a try.
The old school way of fixing this issue was unchecking export in first frame for classes, then taking all your dynamic movieclips (dynamic as in it links to a class) and physically placing them in the second frame of your movie. Being placed there will load their class for use later on in the game, and when its physically placed like that, the preloader loads them correctly.
But again, it sounds like crapatflash's suggestion is doing basically the same thing. not 100% sure though. Give it all a try.