1 Reply Latest reply on May 12, 2007 10:18 AM by Armen Abrahamyan

    Text Field

    jak9942
      I have created an application that shows a password field. what i want it to do is show as password then when the user clicks a checkbox it reverts to normal text and vise-versa. problem is i dont know much actionscript.
        • 1. Text Field
          Armen Abrahamyan
          just use: my_txt.password=true or my_txt.password=false
          where my_txt is instance name of ur input textfield.
          for example when u have b1,b2 buttons , code below will switch password mode:
          b1.onPress=function(){
          my_txt.password=true
          }
          b2.onPress=function(){
          my_txt.password=false
          }