Posted on 2009-06-23 17:22
追梦人 阅读(398)
评论(0) 编辑 收藏 所属分类:
flex
var mousePoint:Point = new Point(this.stage.mouseX, this.stage.mouseY);
mousePoint = globalToLocal(mousePoint);//还有localToGlobal
this.bigimg.x = mousePoint.x;
this.bigimg.y = mousePoint.y;