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

Popular posts from this blog

Object Fitting Keyboard Shortcuts Disfuntional

Markers not showing up after opening a saved project. Where did they go!?

After Effects error: (-1610153453)