Ad
1: 2015-05-21 (Thu) 16:16:51 njf source Cur: 2015-05-22 (Fri) 00:20:27 njf source
Line 1: Line 1:
 +#freeze
StarlingでTouchPhaseでHoverはあるけどOutがないので検知する方法 StarlingでTouchPhaseでHoverはあるけどOutがないので検知する方法
 +
 + exampleObject.addEventListener(TouchEvent.TOUCH, onTouchHandler);
 private function onTouchHandler(e:TouchEvent):void  private function onTouchHandler(e:TouchEvent):void
Line 7: Line 10:
  }else {   }else {
  trace("out!");   trace("out!");
- 
  }   }
- 
 }  }
参考: 参考:
http://forum.starling-framework.org/topic/detecting-mouse-out http://forum.starling-framework.org/topic/detecting-mouse-out


Front page   Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 888, today: 3, yesterday: 1
広告

ログイン

ユーザー名:


パスワード:





パスワード紛失


NJF