买公园年票:关于flash鼠标跟随的问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/05 20:35:53
我在场景中mc物体上加语句,
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
在场景第一帧上加语句,
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
现在mc随着鼠标运动。

请教:
当鼠标移动时,让mc物体以鼠标运动的切线方向旋转,应该如何写语句。
谢谢回复。

你去网易学院看看吧!!!
http://tech.163.com/school/video/