你好你好,请问一下这段代码是不是哪里错了还是缺了什么呀 on (press) { //Start Dragging Movieclip Behavior startDrag(this); //End Behavior
2019年03月06日 13点03分
接刚刚那里 mc_b._x; y1=mc_b._y; x2=mc_a._x; y2=mc_a._y; mc_a.onPress=function(){ this.startDrag(false); } mc_a.onRelease=function(){ stopDrag();
2019年03月06日 13点03分
if(this.hitTest(mc_b)){ this._x=x1; this._y=y1; }else{ this._x=x2; this._y=y2; } }
2019年03月06日 13点03分