24 lines
525 B
ActionScript
24 lines
525 B
ActionScript
package
|
|
{
|
|
import flash.display.Sprite;
|
|
import flash.events.Event;
|
|
|
|
[SWF(width="720", height="480", backgroundColor="#333333", frameRate="60")]
|
|
public class Main extends Sprite
|
|
{
|
|
|
|
public function Main()
|
|
{
|
|
super();
|
|
addEventListener(Event.ADDED_TO_STAGE,this.init);
|
|
}
|
|
|
|
private function init(param1:Event) : void
|
|
{
|
|
removeEventListener(Event.ADDED_TO_STAGE,this.init);
|
|
addChild(new Game(this));
|
|
}
|
|
}
|
|
}
|
|
|