View Full Version : textfield password prob?
Csneeky
10-03-2003, 12:48 AM
ok, my textfields are not showing astericks when password is set to true. Just leaving the cursor at the beginning. When I trace the input though, it comes out correct. Could someone test thier textboxes with password = true to compare please?
Billy T
10-03-2003, 04:34 AM
works for me...are you creating the textbox via actionscript?
post your code or an fla example...
cheers
Csneeky
10-03-2003, 04:11 PM
well, i'm away from my work for a couple days now, so i can't share a fla with you. But it isn't anything special. I was just "trying" stuff out with the new IDE. I simply put an imput text field on the stage. And i think the code probably went like this....
// name of the text field is testText_txt
// name of text field variable is testText_var
// name of button is butt_btn
this.testText_txt.password = true;
this.butt_btn.onRelease = function(){
trace("password "+ testText_var);
}
and the trace equals what i put into the text field, sans the astericks....
It's in the first frame of the main timeline, as vanilla as you can get. I just had a thought, I can't check it till I get back, but maybe it is because I didn't include astericks in the list of embedded characters? I don't know, but there is the code.
farafiro
10-05-2003, 04:59 AM
huh
why r u using variable name andinstance names??
stick with the instance name_root.createTextField("testText_txt",1,10,10,300,20)
testText_txt.border = 1
testText_txt.type = "input"
this.testText_txt.password = true;
this.onMouseDown = function(){
trace("password "+ testText_txt.text);
}
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.