1: 2015-05-21 (木) 16:16:51 njf |
現: 2015-05-22 (金) 01:20:27 njf |
| + | #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 |
| }else { | | }else { |
| trace("out!"); | | trace("out!"); |
- | | |
| } | | } |
- | | |
| } | | } |
| | | |
| 参考: | | 参考: |
| http://forum.starling-framework.org/topic/detecting-mouse-out | | http://forum.starling-framework.org/topic/detecting-mouse-out |
Counter: 2175,
today: 2,
yesterday: 1