Page 1 of 1

Seek for help, how to rotate, touch zoom and touch move

Posted: Mon May 17, 2021 3:58 pm
by terryho
Hi,

Seek for help and advise. I want to make a image, which I can touch move, touch zoom and rotate the image. I make the attach stack, which I can touch move, touch zoom and rotate it. But in after rotate it, I can't touch move or touch zoom the image. I don't know what mistake I make or it is some magic in it.

Can any one to test the attach stack and advise.

Thanks your help in advance.

Regards

Terry Ho

Re: Seek for help, how to rotate, touch zoom and touch move

Posted: Mon May 17, 2021 4:42 pm
by dunbarx
Hi.

I could not make anything in your stack work. I do not see where the several handlers that actually do something, such as "touchMove", are called. How do you use this?

Craig

Re: Seek for help, how to rotate, touch zoom and touch move

Posted: Mon May 17, 2021 5:01 pm
by jmburnod
Hi,
This should be useful:
https://lessons.livecode.com/m/4069/l/1 ... nch-motion
Best regards
Jean-Marc

Re: Seek for help, how to rotate, touch zoom and touch move

Posted: Tue May 18, 2021 2:00 pm
by terryho
Hi Craig,

In the image I had touchstart, touchend and touchmove to detect the user touch event.

Regards

Terry Ho

Re: Seek for help, how to rotate, touch zoom and touch move

Posted: Tue May 18, 2021 2:44 pm
by dunbarx
Terry.

Hi.

I apologize. i just noticed this is a mobile project. I do not do mobile.

Craig