Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all articles
Browse latest Browse all 1802

Action Script not reading special Characters in a string

$
0
0

I created a username and password.

 

The password has to have a special character (e.g. !@#$%^&*) as part of their password. The problem I am experiencing is that Actions Script cannot read a lot of special characters e.g. 1234#. The # plays havoc with the string.

 

My question is how can Action Script read this string value as a #? How can I get Action Script to read these special characters without having a negative impact on the code?

 

Here is an example of my code:

 

<fx:Declarations>

<s:HTTPService id="handleRequestLogin" result="feedRequestLoginService_resultHandler(event)" resultFormat="e4x" fault="faultHandler(event)" showBusyCursor="true"/>

</fx:Declarations>

 

private function login():void

{

feedRequestLogin="http://www.server.com/api/xml?action=login&login=" + tiLogin.text + "&password=" + escape(tiPassword.text);

handleRequestLogin.url=feedRequestLogin;

handleRequestLogin.send();

}

 

Thank you


Viewing all articles
Browse latest Browse all 1802

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>