el codigo de la funcion es este:
Código flex:
y me tira este error en la linea 5: Ver original
<mx:Script> <![CDATA[ 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"); } } ]]> </mx:Script>
1046: Type was not found or was not a compile-time constant: ResultEvent.
y la linea 5 es esta:
private function checkLogin(evt:ResultEvent):void{
alguna idea?