PDA

View Full Version : input textbox question


face2six
07-09-2002, 07:04 PM
I use the folowing code to place two text boxes into a movie clip
but when I test it I can not seem to enter any thing into then
when the mouse passes ove them I get the I bar but It still wont let me enter text.

Im seroiusly confounded cuase this isnt that complicated. I must be missing something obvious.

thanks for any help


_root.login.createTextField("callsign",1, 3, 0, 94,14);
callsign.type = "input";
callsign.variable = "call";
callsign.background = true;
callsign.selectable = true;
;
callsign_format = new TextFormat();
callsign_format.font = "arial";
;
callsign.setTextFormat(callsign_format);
;
;
;
_root.login.createTextField("password",2, 3, 20, 94,14);
password.type = "input";
password.variable = "pass";
password.background = true;
password.selectable = true;
password.password = true;
;
password_format = new TextFormat();
password_format.font = "arial";
;
password.setTextFormat(password_format);
;

tg
07-09-2002, 07:14 PM
try:

_root.login.createTextField("callsign",1, 3, 0, 94,14);
_root.login.callsign.type = "input";
_root.login.callsign.variable = "call";
_root.login.callsign.background = true;
_root.login.callsign.selectable = true;
//.....
//.....

face2six
07-09-2002, 07:32 PM
tried it..still no joy but thanks anyways :)
I tried just putting a input text field onto the stage at the _root level as well and got the same results. Perhaps Im missing a setting somewhere



_root.login.createTextField("callsign",1, 3, 0, 94,14);
_root.login.callsign.type = "input";
_root.login.callsign.variable = "call";
_root.login.callsign.background = true;
_root.login.callsign.selectable = true;
;
callsign_format = new TextFormat();
callsign_format.font = "arial";
;
_root.login.callsign.setTextFormat(callsign_format );
;

face2six
07-09-2002, 09:13 PM
its always the silly llittle things..
in addition to placing in the ful path I also need a stop() in the first frame

thanks fer the help

tg
07-09-2002, 10:33 PM
glad you worked it out.