查看: 1637|回复: 4
|
[求助]flash如何做Mouse drag
[复制链接]
|
|
如题,
一开flash ,mouse 就会不见,只是一个图片 |
|
|
|
|
|
|
|
发表于 27-12-2004 11:32 PM
|
显示全部楼层
yawchoong 于 27-12-2004 08:50 PM 说 :
如题,
一开flash ,mouse 就会不见,只是一个图片
我不懂要怎样跟你说,明天我发个原码上来,你自己看吧 |
|
|
|
|
|
|
|
发表于 27-12-2004 11:37 PM
|
显示全部楼层
1。把你的图片换成Movie clip,然后打开动作面板输入
onClipEvent(enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
2. 在场景第一个frame输入
Mouse.hide()
这样就可以了 |
|
|
|
|
|
|
|
发表于 27-12-2004 11:44 PM
|
显示全部楼层
super-tomato 于 27-12-2004 11:37 PM 说 :
1。把你的图片换成Movie clip,然后打开动作面板输入
onClipEvent(enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
2. 在场景第一个frame输入
Mouse.hide()
这样就可以了
番茄什么时候突然出现的
你果然比较干脆 |
|
|
|
|
|
|
|

楼主 |
发表于 2-1-2005 07:30 PM
|
显示全部楼层
|
|
|
|
|
|
| |
本周最热论坛帖子
|