2010年12月30日

标签跟随鼠标移动

摘要: /*建mc1放在舞台 mc2放在库中*/import flash.events.MouseEvent;var mc2:Mc2;mc1.addEventListener(MouseEvent.ROLL_OVER,mc1OverHandler);mc1.addEventListener(MouseEvent.ROLL_OUT,mc1OutHandler);function mc1OverHandler(e:MouseEvent):void{ mc2 = new Mc2 ; mc2.x = mouseX; mc2.y = mouseY; addChild(mc2); stage.addEventLi 阅读全文
posted @ 2010-12-30 16:57 602147629 阅读(231) 评论(0) 推荐(0) 编辑