At 4/24/09 09:13 PM, Joelasticot wrote:
Is there any way to export everything that's "Exported for Actionscript" in the second frame, AFTER the preloader has kicked in, and that doesn't involve putting everything from your library into a movie clip (which would cause constructor problems)? I'm about to go postal :D
When you assign classes/linkages uncheck the box that says "export in first frame". Also, I guess your problem is that you're using coding from an external class file. Rather than having multiple frames assign everything to classes so you can add things dynamically:
playBTN.addEventListener(MouseEvent.CLIC K, clicked);
function clicked (e:MouseEvent):void{
stage.removeChild(PRELOADER);
stage.addChild(MENUSCREEN);
}
ETC.