who can help me with this, line function ... is not correct
stop();
enter_btn.addeventlistener(mouseevent.click, subclick);
failed_txt.background = false;
failed_txt.border = false;
var myname:string;
var mypass:string;
function subclick(event:mouseevent):void{
myname=name_txt.text;
mypass=pass_txt.text;
if(myname=="111111" && mypass =="22222.1"){
gotoandstop("hidden");
} else {
failed_txt.text = "graag een geldig passsword.";
}
the thing wrong show function missing ending curly brace.
if getting error message include error message in posting
More discussions in ActionScript 3
adobe
Comments
Post a Comment