How to use Mouse and Touch Events in Starling
There is often confustion by new adaptors of Starling about what Events to use to handle touch/clicks. Unlike AIR's native TOUCH_BEGIN, TOUCH_END events, Starling uses a single TOUCH event, the type of touch is then extracted in the event handler through the event (e) object. See below. private function onTouch(e:TouchEvent):void { var touch:Touch = e.getTouch(stage); [...]
Get Social