3 Replies Latest reply: Oct 30, 2014 10:08 AM by 25mei RSS

    What should i put to resolve this syntax error 1084: expecting rightparen before and.

    25mei Community Member

      below is my code, i wonder what should i put before and??

       

      stop();

       

      this.loginbtn.onRelease = Function()

      {

        if (usertxt.text=="admin" and passtxt.text =="admin")

        {

        gotoAndPlay(10);

        }

      }