sznsx
01-23-2005, 11:25 PM
I am atempting to send a variable from actionscript to PHP using the following actionscript code:
lvOut = new LoadVars();
lvOut.theData = myVariable;
lvOut.send("myScript.php","_blank");
I would like to know how to send the data and execute the PHP code without having to open it in "_blank". When I remove that parameter the variable is not sent and the PHP code is not executed.
I just want the variable to be sent and the PHP code to execute without opening any new windows or changing the current page. I know it's a simple fix I am just very blind.
lvOut = new LoadVars();
lvOut.theData = myVariable;
lvOut.send("myScript.php","_blank");
I would like to know how to send the data and execute the PHP code without having to open it in "_blank". When I remove that parameter the variable is not sent and the PHP code is not executed.
I just want the variable to be sent and the PHP code to execute without opening any new windows or changing the current page. I know it's a simple fix I am just very blind.