Deciros que si subo el swf generado al servidor funciona perfectamente, pero si lo ejecuto como aplicacion air, me sigue ocurriendo que lo manda por get.
var variables:URLVariables = new URLVariables();
var envio:URLRequest=new URLRequest();
envio.url="http://www.prueba.com/login.php";
envio.method=URLRequestMethod.POST;
envio.data=variables;
variables.user="prueba";
variables.pass="prueba";
function abrir(e:Event):void {
navigateToURL(envio);
}
boton.addEventListener(MouseEvent.CLICK,abrir);
