Memo from Chris Couldridge of PricewaterhouseCoopers

-------------------- Start of message text --------------------

do something like this in a behaviour on the field

property pText
property pMember

on beginSprite me
      pMember = sprite(me.spritenum).member
      pText = ""
      pMember.text=""
end

on keydown me
      if the key = BACKSPACE then
            delete the last char of pText
      else if the key = ENTER or the key = RETURN then
            - - script to validate password - -
      else put the key after pText
      end if
      displayDummyChars me
end

on displayDummyChars me
      charCount = pText.char.count
      dummyDisplayString = ""
      repeat with a = 1 to charCount
            put "*" after dummyDisplayString
      end repeat
      pMember.text = dummyDisplayString
end


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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