Hi,

I was trying to create a simple login form using Flash Builder by
connecting to a PHP script.

For the  clickHandler of the Login Button, I have the code as-

checkLoginResult.token = myPHPLogin.checkLogin
(username.text,password.text);



where checkLoginResult is the Call Responder and myPHPLogin is the
service, checkLogin is the procedure which returns an int (1 for
success, 0 for failure)

Using Network Monitor, I see that the response is as expected for the
combinations of username and passwords entered.


Now, my question is how can we retrieve the result in the clickHandler
function itself? I tried using the lastResult but it does not work
inside the handler. For binding the result to a control, it works
well.

Why is this so, and what is the solution?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to