on (press) {
if (precios != undefined and anos != undefined) {
sendingData = new LoadVars();
sendingData.anos = anos;
receivingData = new LoadVars();
function displayLoadedData(success) {
if (success) {
gotoAndPlay(5);
_parent.play();
renta = receivingData.renta;
} else {
outputField = "No se Pudo cargar el monto deseado";
}
}
}
receivingData.onLoad = displayLoadedData;
// send variables from sendingData Obj. to the server
sendingData.sendAndLoad("calculo.asp",receivingData,"Get");
}
