I included code to cycle through the cards in a stack with a mouseClick to exit the repeat loop. It works fine on my Mac but when I try it in the iOS simulator or on my iPad, it never exits the loop. The code below is a simplified version that I put into a stack with no other scripts to make sure I wasn't trapping the click somewhere but it doesn't work either. According to the LiveCode dictionary this is supposed to work on iOS devices. Is there some other way out of the loop?
If the click does not happen exactly when that line of code checks for it, the click won't be recognized. It's usually a bad idea to check for a mouseclick within a repeat loop, especially a long loop. Using a "send <message> in <time>" construct is the general way to do this sort of thing. See also: http://www.hyperactivesw.com/polling.html
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com