I am a flash developer and I’ve got some experience in games and applications, but there is a problem that always comes back and that I solve in sometimes discussing manners, but I’ve decided to find the “good way” of doing it.
Ok, here’s my problem :
I have a game where I set the publish setting to export in Frame 10. Most of the graphic content is already on the stage on the frame 10, but there are a few MovieClips that I add and remove using AS from the stage (a “How To Play” movieclip, for example).
All the movieclips I want to use with AS are set to export in Frame 10 and are used in different custom classes.
Everything works just fine if I set everything to export on Frame 1 and all my graphics are on frame 10, but not if I export in any other frame than 1.
The workaround I’ve found is to create an instance of the objects I want to load outside of the stage, but I hate that way of doing things :\
I get no error if I create an instance of my movieclips through AS, but they won’t show up when added to the display list (yes, I know how to use addChild :))
As I already told, everything works just fine if I set the publish settings to Export In Frame 1, BUT I need to export stuff on another frame than 1 in order to create a preloader.
Thanks for any hint you can provide me, this problem has been driving me crazy for a little too long