0 Replies Latest reply on Nov 4, 2009 4:56 AM by phanidps07

    Login validation error

    phanidps07

      private   function doValidateUserName():void
                  {
                                if(uname=="sfg" && pwd=="sfg")           ( here i am getting error)
                      {
                          this.currentState="Welcome";
                         
                      }
                      else
                      {
                          Alert.show("sorry ur not a valid user");
                      }
                     
                  }

       

      I am getting an error "1176: Comparison between a value with static type mx.containers:FormItem and a possibly unrelated type String.    shailu    shailu.mxml    line 24   "

       

      Please help ma what should i do