作者pikoto (Lines on my hand)
看板Flash
标题Re: [问题] 关於滑鼠的问题~
时间Thu Apr 16 23:31:39 2009
1.隐藏滑鼠.
2.做个假的滑鼠.
3.Tween IT.
frame 1: time:1,
frame 2: time:2,
frame 3: time:3,...以此类推.
Mouse.hide();
this.stage.addEventListener(MouseEvent.MouseMove, hahahandler);
function hahahandler(e:MouseEvent):void{
//if you use TweenMax
TweenMax.to(xx,this.currentFrame,{x:mouseX,y:mouseY,ease:xxx.xxxx});
}
try it, 不确定能不能运作
※ 引述《cosworth (引擎供应商)》之铭言:
: 想请问
: 不同的影格有不同的滑鼠速度.这种语法应该怎麽写??? 能否达成呢?
: 滑鼠速度数值的来源想撷取windows-->控制台--> 滑鼠指标设定-->选取指标速度
: 内步的原始参数
: 假设
: 滑鼠速度参数: "慢1.2.3.4.5.6.7.8.9.10.11快" 共有11格
: 想写成
: 影格1-------滑鼠速度值为1
: 影格2-------滑鼠速度值为2
: 影格3-------滑鼠速度值为3
: .
: .
: 以此类推
: 感谢
--
If you close the door,just turn off the lights now
﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.143.39