I am working on an ipad app right now. At the beginning, the instructional direction will be given. I don't want the users to touch the button to move to the next card during the direction.
Here is what I have done:
The script of the card:
Code: Select all
on opencard
play (specialfolderpath("engine") & "/start.aiff")
wait until the sound is done
put flushEvents("mouseUp") into temp
end opencard
Code: Select all
on mouseup
go to card 7
put flushEvents("mouseUp") into temp
end mouseup
I searched the forum, and tried what Klaus suggested in a similar situation:
set a nonmouseclicks first
on the card
Code: Select all
on opencard
insert script of btn "nonmouseclicks" of cd 3 into front
play (specialfolderpath("engine") & "/start.aiff")
wait until the sound is done
remove script of btn "nonmouseclicks" of cd 3 from front
end opencard
Can anyone here help me?
Thank you.
Kev