Skip to main content
Inspiring
January 31, 2018
Answered

Pinch and zoom gesture

  • January 31, 2018
  • 2 replies
  • 2019 views

Hi,

I've got the pinch and zoom function working OK but it's not ideal.

When I pinch and zoom the image remains centred.

As you zoom in obiously whole areas of the image move off stage. That's fine if you only want to zoom in on the centre of the image.

I need to be able to zoom in and then swipe up/down, left and right so I can look at the whole image in its magnified state.

Hope that's clear!!? Any advice please?

This topic has been closed for replies.
Correct answer Preran

From my understanding, it looks like an issue with your device. However, I suggest getting in touch with Adobe Customer Care to see if they can look at your issue, and log a bug if necessary. Select Adobe Creative Creative, and choose Adobe Animate from the options.

Contact Customer Care

Thanks,

Preran

2 replies

Inspiring
February 5, 2018

I'm using a laptop and testing the zoom and pinch within animate using the simulator (if that's what you mean).

Preran
PreranCorrect answer
Legend
February 7, 2018

From my understanding, it looks like an issue with your device. However, I suggest getting in touch with Adobe Customer Care to see if they can look at your issue, and log a bug if necessary. Select Adobe Creative Creative, and choose Adobe Animate from the options.

Contact Customer Care

Thanks,

Preran

Inspiring
January 31, 2018

Also I notice that the image distorts. It doesn't scale in proportion.

I've used thIs:

Multitouch.inputMode = MultitouchInputMode.GESTURE;

stage.addEventListener(TransformGestureEvent.GESTURE_ZOOM, fl_ZoomHandler1);

function fl_ZoomHandler1(event:TransformGestureEvent):void

{

another_mc.scaleX *= event.scaleX;

another_mc.scaleY *= event.scaleY;

}

I guess I'm missing something obvious???

Preran
Legend
February 2, 2018

Which device are you on? Which OS, and which version of Adobe Animate?

Inspiring
February 3, 2018

Hi,

OS is Windows 10 and I'm using Animate CC version 18.0.1 (Build 115)

I am currently working on an app for Android but will also want to produce an IOS version too.