Post
by JackD » Tue Nov 13, 2012 6:56 pm
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?
Code: Select all
on mouseUp
repeat
go next card
if mouseClick() then exit repeat
wait 1 second
end repeat
end mouseUp
27" iMac, OS X 10.13
iPad 3, iPad Pro, iPhone 4s, iPhone 6, LG Optimus L9 phone, Samsung Galaxy Camera
LiveCode 8.1.9