Page 1 of 1
disable screen touch while saving the score in ipad
Posted: Mon Jan 20, 2014 10:58 am
by Manju123
Hi there,
how to disable screen touch while saving the score in ipad using livecode.
Thanks,
Manjula
Re: disable screen touch while saving the score in ipad
Posted: Mon Jan 20, 2014 11:08 am
by LCNeil
Hi Manjula,
I have moved your topic to a more relevant section of the forums.
Something that you should be able to use is "mobileClearTouches". This allows the buildup of any touch messages, that are not needed, to be cleared.
An example from the LiveCode dictionary is-
on tellUserInstructions
play specialFolderPath("engine") & slash & "Instruction_1.mp3"
wait until the sound is "done"
mobileClearTouches
end tellUserInstructions
Here, if the mobileClearTouches call was not made, any touch events the user created while the sound was playing would be queued and then be delivered immediately afterwards potentially causing unwanted effects.
I hope this gives you some leads.
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
—
Re: disable screen touch while saving the score in ipad
Posted: Mon Jan 20, 2014 2:40 pm
by Jellicle
Manjula, create a rectangle graphic object that is the same size as the iPad screen, make it invisible, opaque and set it's blend level to 100. Make sure it's in front of everything else on the screen. When you need to stop users interacting with other controls just show the graphic.
Gerry