Page 1 of 1

card password

Posted: Sat Nov 23, 2013 10:20 pm
by vedus
i have a stack and 4 cards.
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
the above code is working for me without errors,is secure procedure or i miss something?

Re: card password

Posted: Sat Nov 23, 2013 11:03 pm
by Simon
Hi vedus,
In the notes section of the Dictionary entry for Ask Password.

Simon

Re: card password

Posted: Sat Nov 23, 2013 11:11 pm
by vedus
Simon wrote:Hi vedus,
In the notes section of the Dictionary entry for Ask Password.

Simon
I just read it it thank you simon..can i ask how i use the unicode in the ask dialogs?