How to import a document class file into another flash file?
问题 I have 2 .fla files and one of them is associated with a class file called DocumentMain, it is a game. and what I want is when I click "stat" on the first .fla file it takes me to the game swf file. I did the myLoad function and it look like this : btnstart.addEventListener(MouseEvent.CLICK,gamecontent); function gamecontent(myevent:MouseEvent):void { var myLoader:Loader = new Loader (); var myURL:URLRequest = new URLRequest("game.swf"); myLoader.load(myURL); addChild(myLoader); } but I get