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

I have this flash code. It sends score and username in my game to savescores.php. But I have the error above. I have changed URLLoaderDataForma.VARIABLES to TEXT but still same error occurs. What should i do to fix this problem? Thanks in advance..

    private function SendScore(score:int) 
		{
    		var variables:URLVariables = new URLVariables();
    		variables.score = score;
			variables.username = username;
    		var urlloader:URLLoader = new URLLoader();
			
    		var urlrequest:URLRequest = new URLRequest('http://localhost:90/savescores.php');
    		urlrequest.method = URLRequestMethod.POST;
    		urlrequest.data = variables;
         	urlloader.dataFormat = URLLoaderDataFormat.TEXT;

    		urlloader.load(urlrequest);
    		urlloader.addEventListener(Event.COMPLETE, CompleteHandler, false, 0, true);
    		urlloader.addEventListener(IOErrorEvent.IO_ERROR , ErrorHandler, false, 0, true);
		}
		
		private function CompleteHandler(e:Event) 
		{
    		var vars:URLVariables = new URLVariables(e.target.data);
    		if(vars.success) trace('Saving succeeded');
    		else ('Saving failed');
		}

		private function ErrorHandler(e:IOErrorEvent) 
		{
    		trace('Error occured');
		}