Page 1 of 1

'repeat until the mouseClick' not work

Posted: Mon Jun 15, 2015 1:17 pm
by sunkim
Hello, i'm trying to solve a problem by playing a bit with a piece of test code.

following script is work well on pc
but not work on the android phone
I don't know why
I have tested this script for many days
and I knew
"the mouseClick" function is not work on android
I think this problem may be error of Livecode

anyone help me
warm regard

on opencard
repeat until the mouseClick
nextword
wait for 100 milliseconds
end repeat
end opencard

Re: until mouseClick not work

Posted: Mon Jun 15, 2015 1:59 pm
by Klaus
This is NOT a feature request, so I will move this thread to the beginners section! 8)

Re: 'repeat until the mouseClick' not work

Posted: Tue Jun 16, 2015 6:33 pm
by sunkim
hi klaus
please move to android forum
I'm beginner
but I think this problem is not only for beginners

I'm beginner of livecode but I have known from hypercard.
now I am making a app
and need auto play in app
and the app work well on the pc
but auto play not work on the android
and I tested many ways and I found the cause
please move this issue to android forum
I need a help
thanks

Re: 'repeat until the mouseClick' not work

Posted: Sun Jun 21, 2015 11:31 pm
by sturgis
My guess would be that mouseclick() isn't actually supported on mobile. YOu might have to tweak things so that you use touchstart, touchend, or a combination of the two. I'm not sure if mouseclick is or is not supported on mobile.. The dictionary says it is, but it also says its supported on server and web (in 7.0.5) and I'm pretty sure that is NOT correct.

Re: 'repeat until the mouseClick' not work

Posted: Mon Jun 22, 2015 12:08 am
by Klaus

Re: 'repeat until the mouseClick' not work

Posted: Mon Jun 22, 2015 12:44 am
by sturgis
Thx Klaus!