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

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
terryho
Posts: 126
Joined: Mon Nov 05, 2012 2:53 pm

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

Post by terryho » Mon May 17, 2021 3:58 pm

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
Attachments
CreateAvatar.livecode.zip
(103.63 KiB) Downloaded 117 times

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9578
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

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

Post by dunbarx » Mon May 17, 2021 4:42 pm

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

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

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

Post by jmburnod » Mon May 17, 2021 5:01 pm

Hi,
This should be useful:
https://lessons.livecode.com/m/4069/l/1 ... nch-motion
Best regards
Jean-Marc
https://alternatic.ch

terryho
Posts: 126
Joined: Mon Nov 05, 2012 2:53 pm

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

Post by terryho » Tue May 18, 2021 2:00 pm

Hi Craig,

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

Regards

Terry Ho

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9578
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

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

Post by dunbarx » Tue May 18, 2021 2:44 pm

Terry.

Hi.

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

Craig

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”