I've been trying to get my AS3 preloader working correctly and I can't seem to get it right. I'm making this preloader according to the 8bitrocket tutorial - Link
A quick summary of what it is:
1) You first make sure all of your "Linkage" movieclips are set to NOT "Export on Frame 1". (Except for your preloader MC)
2) Add preloader MC to the stage in frame 1, let it load, then once it's done, it'll play() to frame 2 of the timeline.
3) On frame 2 there is a movieclip (typically named "Assets") placed on the stage that contains ALL of your "Linkage" movieclips. This is how to give Flash the ability to reference them later in the game since they weren't "Exported on Frame 1" like usual.
4) The timeline continues to play to frame 3 and stops there. The stage is completely cleared and the game begins like normal.
My problem is this. Since I'm just placing all of my "Linkage" movieclips onto the stage (in step 3 above) I get loads of compiler errors like so:
ArgumentError: Error #1063: Argument count mismatch on com.wow.hud::LevelTransition(). Expected 3, got 0.
ArgumentError: Error #1063: Argument count mismatch on com.wow.misc::Mine(). Expected 4, got 0.
ArgumentError: Error #1063: Argument count mismatch on com.wow.misc::Skidmark(). Expected 2, got 0.
Since this method of getting a preloader on AS3 games is so popular, I'd imagine there is a workaround to this issue that I'm just not seeing. Google isn't helping either.
Any help appreciated!