Prevent MovieClips from loading
Hello all,
When I test my FLA (a video game), for some reason all of my MovieClips classes will load in the background. They are not placed on the stage, all of them are in the library. The way I know that they load is that I placed some trace statements in each of their classes. When I test, trace("level one has loaded") will show in the output. So that is how I know they are loading.
I do not want them to load when the game begins, I want them to load when they are placed on the stage. The reason is that I feel it is too expensive and also because I am using timers which I want to begin only when they are on stage.
I have played around with ENTER_FRAME and currently have the movieclips triggered to enter the stage after a mouse event but they are still loading. How can I prevent them from loading until they are needed?
By the way, I have played around with the publish settings like "Automatically declare stage instances" but so far no avail. There has to be something I'm missing. Also, this is happening with both timeline code and external classes.
I am running CS6 Web Premium on WIndows 7.
