Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

Deactivate "double tap + swipe = zoom"-behavior (Flash, Air)

$
0
0

Hello. It's about the zoom-feature which is triggered by double-tapping, directly followed by swipe. (so not releasing after last tap, but just swiping)

 

Currently, I'm working on a game-app, where this built-in feature is unfortunately very confusing.

I could also not find a related deactivation-option for the app itself (Android).

I'm using MultitouchInputMode.GESTURE.

 

Is there a built-in way to deactivate that by code? I have not found it so far.

Or is it planned to be introduced in a future version?

 

If yes, I would either think of deactivating it permanently, like:

NativeApplication.nativeApplication.doubleTapZoomeMode = false; // or so

 

Or even better: a preventable event that is dispatched right before TransformGestureEvent.GESTURE_ZOOM; (start-phase):

like DOUBLE_TAP_ZOOM; and the prevention of the event would cause the system to ignore the following touch action.

 

If there was no way, I had to create some workaround... but I want to avoid that if possible.

 

Thanks in advance.

Yves


Viewing all articles
Browse latest Browse all 2954

Trending Articles