Hi, im trying to make this input-textbox disabled after it´s been correctly typed in … I tried to use something like this “_root.txt.enabled = false;” in the code but nothing worked …
Can anyone help?
[LEFT]
[LEFT]function check_answer(text, number) {
correct = new Array("mánudögum", "þriðjudögum")
if (text == correct[number]) {
stig = eval( "_root.stig" + ( number + 1 ) );
stig._alpha = 100;
stig.gotoAndStop( 2 );
mynd = eval( "_root.mynd" + ( number + 1 ) );
mynd._visible = false;
_global.score++;
}[/LEFT]
[/LEFT]