How to create memory function

So my app does basically a fingerscan, going to a new scene with an image randomly selected from an array. And then it has a try again so the user does it again to get a new one.

How can I create a memory function so that when he does it for the third time, a native alert pops out for rating?

Set a variable and keep count, and when the count is at set level/number call a function to trigger the pop-up.

can you give me a hand with the code?

views:875 update:2011/12/2 15:07:10
corona forums © 2003-2011