flash - AS3 中的 URL 编码变量?

标签 flash actionscript-3 urlencode

尝试通过 URLRequestMethod.POST; 传递变量时出现以下错误;

Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.

有字符串URL编码的方法吗?

最佳答案

ActionScript 3 的顶级函数有 escape() 和 unescape(),用于 URL 编码/解码。

关于flash - AS3 中的 URL 编码变量?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3487479/

相关文章:

com - 是否有允许 URL 编码的 COM 可访问库?

python - 实现python RTMP服务器,发送媒体数据后flash播放器重置连接,如何排除故障

java - 有没有办法在actionscript 3中调用java方法?

actionscript-3 - 如何为 Flex Mobile 中的某些 View 启用方向更改?

apache-flex - 有什么方法可以将 ActionScript 3 (Flex/AIR) 项目打印到标准输出吗?

javascript - 为什么提交到Spring Controller 后java无法识别html文本?

flash - 对象内部根时间轴的 currentFrame

flash - 检查有多少sharedObject空间可用

apache-flex - 删除 Flex 中的所有事件监听器

ios - Swift - 编码 URL