英语翻译import flash.text.TextField;import flash.ui.Mouse;public class Main extends Sprite {private var score:Number;//得分值public var score_txt:TextField;//得分显示private var stageW:Number;private var stageH:Number;private var content_m
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 22:31:04
英语翻译import flash.text.TextField;import flash.ui.Mouse;public class Main extends Sprite {private var score:Number;//得分值public var score_txt:TextField;//得分显示private var stageW:Number;private var stageH:Number;private var content_m
英语翻译
import flash.text.TextField;
import flash.ui.Mouse;
public class Main extends Sprite {
private var score:Number;//得分值
public var score_txt:TextField;//得分显示
private var stageW:Number;
private var stageH:Number;
private var content_mc:Sprite;
private var mouse_mc:MovieClip;
private var time:Timer;
public function Main() {
this.stageW=stage.stageWidth;
this.stageH=stage.stageHeight;
this.content_mc = new Sprite();
addChild(content_mc);
Mouse.hide();
this.mouse_mc = new MouseHammer();
mouse_mc.mouseEnabled=false;
mouse_mc.hammer_mc.mouseEnabled=false;
addChild(mouse_mc);
stage.addEventListener(MouseEvent.MOUSE_MOVE,moveMouse);
stage.addEventListener(MouseEvent.MOUSE_DOWN,downMouse);
init();
英语翻译import flash.text.TextField;import flash.ui.Mouse;public class Main extends Sprite {private var score:Number;//得分值public var score_txt:TextField;//得分显示private var stageW:Number;private var stageH:Number;private var content_m
这个类不全啊