-1
這個代碼爲muse 如何使光標在Android的用戶在as3觸摸?如何在android中爲as3製作用戶觸摸光標?
import flash.events.Event;
// listen out for the ENTER_FRAME event.
stage.addEventListener(Event.ENTER_FRAME,moveOurMouse);
// hide the real mouse
Mouse.hide();
// show where the function we made when we made our event listener
function moveOurMouse(event:Event) {
// make our custom cursor's position equal the real mouse's position
Shave.x = root.mouseX;
Shave.y = root.mouseY;
}
stop();
目前尚不清楚你在問什麼。 (你想要做什麼?期望的結果是什麼,實際結果是什麼?) – hon2a 2014-11-24 18:56:49
所以你想要某種類型的圖形對象出現在模仿鼠標光標的窗體上?那隨着用戶移動他們的手指而移動? – 2014-11-24 18:58:39
只是... 如何使用戶在我的Android應用程序的觸摸as3觸摸我搜索它,沒有有用的結果 – 2014-11-24 19:01:17