title: URL encode variable in AS3?
body: <p>I get the following error when trying to pass variables via <code>URLRequestMethod.POST;</code></p>
  
  <blockquote>
    <p>Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.</p>
  </blockquote>
  
  <p>Is there a method for string URL Encoding?</p>