I get the following error when trying to pass variables via URLRequestMethod.POST;
Error: Error #2101: The String passed to URLVariables.decode() must be a URL-encoded query string containing name/value pairs.
Is there a method for string URL Encoding?
Solution to this problem is:
You have to set URLLoaderDataFormat to URLLoaderDataFormat.TEXT not
URLLoaderDataFormat.VARIABLES.Because
VARIABLESmeans different types of data, not multiple items inURLVariables.