Hi,

I´m using the WebService Connector to get some data from a service. I need
to have three params to get the Data, but the problem is that two of those
params are a username and a password. Whenever the pass and the user name
are incorrect it gives me an error that can´t load ("
http://www.myPage.com/services.php";).

My question is: How can i control the component (Connector) so that i can
create a Text Message informing the user that the password or the username
is incorrect?

I was thinking in having an EventListener to the component but i´m not
having many luck with my code....

This is what i have till now:

user.text = "1";
pass.text = "123456";
numerador.text = "51859";
Listener.onResult = function (result)
{
    trace ("Result:" + result);
};
Listener.onFault = function (fault)
{
    trace ("fault: " + fault.faultString);
};
Listener.onStatus = function (info)
{
    trace ("info: " + info);
};
Listener = new Object ();
ws.addEventListener (Listener);


Thanks for the help.

--
------------------------------------------------------------
Mário Jorge
Icq: 164987050
Msn + Mail: [EMAIL PROTECTED]
Web: http://www.beedigital.net
Blog: http://www.beedigital.net/blog
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to