Pavel Pevnitskiy
Pavel Pevnitskiy
@pablocabana no-no, this is totally not cool. Better try regular `for` loop.
@pablocabana it works as expected this way, right? Should I commit fix?
@neolit123 thanks for the participation) I don't have enough knowledge on the internals, but, to sum up, looks like regular `for (i...)` loop would do the job. Do you think...
@slaymantis I've create branch with the fix https://github.com/fljot/Gestouch/tree/features/71-fix-initialization And in changelog you can see see how you should initialize stuff: https://github.com/fljot/Gestouch/blob/features/71-fix-initialization/CHANGELOG.md Please try and tell me if everything works)
@slaymantis that was about automatic initialization (that stuff in `onStageAvailable()` in somewhere else). But I'm not sure what is that flickering problem you had. Anyway, try and tell me how...
Gestures are something different from the visual objects (such as images). Gestures are about interaction, not the presentation. Control your image size when you perform transformation.
Nope, there's no such functionality. Yet it sort of was there long time ago, so I thought about this problem. But still I didn't really understand your issue. Could you...
``` zoomGesture = new ZoomGesture( obj ); zoomGesture.addEventListener(GestureEvent.GESTURE_CHANGED, onZoom); panGesture = new PanGesture( obj ); panGesture.addEventListener(GestureEvent.GESTURE_CHANGED, onPanGesture); private function onZoom(event : GestureEvent) : void { // possible active panGesture should...
Develop is okay. What "doesn't work" exactly? **upd:** added if (event.newState ... ) check
Here's what was happening originally: once you put 1st finger both gestures get it, but as soon as you move your finger Pan becomes recognized and, normally, aborts Zoom(which is...