Hi
Using Flash Builder 4.6 and I changed my code from mx:script to fx:script and now I have a whole new set of problems. ![]()
Here is my code:
<fx: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");
}
}
]]>
</fx:Script>
I'm getting the following errors:
"Type not found or was not a compile time constant"
and
"Access of undefined property result"
Any help would be greatly appreciated.
Thanks,
North America
Europe, Middle East and Africa
Asia Pacific