怎麼抓到滑鼠在場景上的座標?
Flash常見問題&教材 2006/11/24 07:29先把這段CODE貼在FRAME1
_root.Box.onMouseMove=function(){ //Box在_root裡面,所以Box的_parent是_root
B_XX.text="B_xmouse is "+this._xmouse+"px"//這裡面的this指的是Box
B_YY.text="B_ymouse is "+this._ymouse+"px"
if(this._xmouse>100){ //試試看有加this.Box._alpha加Box._alpha的效果
more..
Trackback Address :: http://diary.tw/allenliao/trackback/7

