A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: use '#' insted '*' in password field

  1. #1
    FK Supermodel laxmi19885's Avatar
    Join Date
    Jul 2001
    Location
    Mumbai
    Posts
    474

    use '#' insted '*' in password field

    Is it possible to change '*' into '#' or some other charactor in password field (input text)?
    Last edited by laxmi19885; 01-31-2005 at 07:15 AM.

  2. #2
    Ximensions.com Sul's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    423
    Hey

    Here's something I made up...you should be able to go from there. There may be a simpler way or a built in function, but I just did it this way! If you have specific questions about my code, let me know.

    To get it to work for you simply delete the passfieldcontent textbox and remove the ".text" in the actionscript that comes with the passfieldcontent variable. So whenever a user presses a key in the password box, it'll replace in with "#" and store the actual key in the passfield content. I just very quickly knocked this up...so you might be able to trim it down.. Hope it helps though.

  3. #3
    FK Supermodel laxmi19885's Avatar
    Join Date
    Jul 2001
    Location
    Mumbai
    Posts
    474
    thanks. thts gr8.

  4. #4
    FK Supermodel laxmi19885's Avatar
    Join Date
    Jul 2001
    Location
    Mumbai
    Posts
    474
    but its not working in Flash MX.
    Its working fine with MX 2004.

    i dont know why??

  5. #5
    Ximensions.com Sul's Avatar
    Join Date
    Oct 2000
    Location
    UK
    Posts
    423
    Ah that's because I'm using MX2004. Is the file not opening in MX, or is it that it's just the actionscript not working? If it's the actionscript, then you may have to adapt it slightly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center