actionscript 's http post with underscore problem

来源:互联网 发布:沙发床 知乎 编辑:程序博客网 时间:2024/06/08 01:23

when you write flex with http post with key=value,when key contains underscore ,then flex Urlvariable will convert it into %5f,the solution is Just change Urlvariable to string

 for example:

 
to 

 

var url:String = "login_action.php";

var request:URLRequest = new URLRequest(url);

request.data = "user_name=bob";

原创粉丝点击