all groups > flash actionscript > july 2007 >
You're in the

flash actionscript

group:

return var


return var Chilectro
7/27/2007 10:46:16 PM
flash actionscript:
Hello Folks,


Quick question, trying to do some action script however its not going to well.

[code]
function testing() {
envia = new LoadVars();
flvURL = "BDAGMgdzVTFYel5tVCZUZQR3WzALPgl3";
envia.r = flvURL;
recibe = new LoadVars();
envia.sendAndLoad("http://localhost/web/crypto.php", recibe, "POST");
recibe.onLoad = function(recibido) {
if(recibido) {
trace(recibe.decrypted);
// return recibe.decrypted;
}
} return [VARIABLE];

}
myVariable = testing();
[/code]

Inside the code trace is working nicely, however when i am trying to return
the var, its says UNDEFINED
Please Advise!
Re: return var kglad
7/28/2007 12:57:57 AM
AddThis Social Bookmark Button