Re: [問題] 關於滑鼠的問題~
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