i have the card with let's say id "card4"
in the main stack i have 4 buttons,one for for every card.
when i click the button "card4" i want to ask me for a password.
because the test is for ipad i use the exaimple from http://lessons.runrev.com/s/lessons/m/4 ... ode-mobile.
but where is the password or(where i will store) and how i will pass it on ask dialog?
can anyone point me or guide to the right direction?
thank you..
Code: Select all
on mouseUp
   ask password "Please log in:" with "Your Password" titled "Your Password"
   if it is empty then exit to top
   if it = "mypass" then 
      go to card4
   else
      answer "Incorrect password.Please try again"
      end if
end mouseUp

