In my submit form I’ve got 5 images in UI component LOADERS. I need advice on how to write the AS code to send the images to the server PHP.
This is my current AS code.
var senderLoad:LoadVars = new LoadVars();
var receiveLoad:LoadVars = new LoadVars();
sender.onRelease = function () {
senderLoad.thename = thename.text;
senderLoad.thecompany = thecompany.text;
senderLoad.theaddress = theaddress.text;
senderLoad.sendAndLoad("[web.web/send.php",receiveLoad](http://www.indico.net.au/dyodept/send.php%22,receiveLoad));
}
receiveLoad.onLoad = function () {
if(this.sentOk) {
_root.gotoAndStop("success");
}
else {
_root.gotoAndStop("failed");
}
}