Hi everybody!
Aswering the @emilyyount questions:
Here´s how you send variables with send:
var variaveis = new URLVariables();
variaveis.name = “my name goes here”;
variaveis.email =”my e-mail goes here”;
variaveis.mesagem = “my message goes here”;
variaveis.links = ” my links goes here”;
var sendPHP = new URLRequest (“archive that receives”);
sendPHP.method = URLRequestMethod.POST;
sendPHP.data = variaveis;
var verificador = new URLLoader();
verificador.addEventListener(IOErrorEvent.IO_ERROR, erro);
verificador.addEventListener(Event.COMPLETE, sucesso);
verificador.load(sendPHP);
Here´s how you don´t send variables :
var variaveis = new URLVariables();
var sendPHP = new URLRequest (“archive that receives”);
sendPHP.method = URLRequestMethod.POST;
var verificador = new URLLoader();
verificador.addEventListener(IOErrorEvent.IO_ERROR, functionifanythingwentwrong);
verificador.addEventListener(Event.COMPLETE, functionifworks);
verificador.load(sendPHP);
I hope I´ve been of any help