3 Replies Latest reply on Aug 7, 2012 5:59 AM by Captain825

    Can't Resolve <mx:script> to component

    Captain825 Level 1

      I am using Flash Builder 4.6 Pro.  I have the following code but I get an error saying that it can't resolve <mx:Script> to a component.


      I would appreciate your help.    



      <?xml version="1.0" encoding="utf-8"?>                       

      <s:Application xmlns:fx=http://ns.adobe.com/mxml/2009



      minWidth="955" minHeight="600" backgroundColor="#FFFEFE"  







      private function checkLogin(evt:ResultEvent):void


      if(evt.result.loginsuccess == "yes")


      currentState = "Logged In";


      if(evt.result.loginsuccess == "no")


      mx.controls.Alert.show("Invalid username/password");