Hi Irv,

It seems to me that all the fuss with finding the masking font takes you
more time then writing the actual code would :)

This is totally untested and oversimplified e-mail lingo, but I'm sure you
can adapt it to your needs (obviously, you should get rid of hardcoding the
"password").
I hope this helps.



property pqPassword
property pmMem

on beginSprite me
  pqPassword= ""
  pmMem = sprite(me.spriteNum).member
end


on keyDown me
  if "1234567890abcdefghijklmnopqrstuvwxyz" contains the key then
    put the key after pqPassword
    put "*" after pmMem.text
  else if the key = "RETURN" then
    me.checkPassword()
  end if
end

on checkPassword me
  if pqPassword = "password" then
    alert ("correct!")
  else
    alert ("wrong!")
  end if
end


Karina



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to