/ Published in: ActionScript 3

This will send variables to a page for processing. Sends as Get variables, the receiving page won't open. This method doesn't return a response, use URLLoader.load() if you need a response.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var url:String = "flash/store_results2.php"; var request:URLRequest = new URLRequest(url); var variables:URLVariables = new URLVariables(); variables.var1 = flashVar1; variables.var2 = flashVar2; request.data = variables; try { sendToURL(request); } catch (e:Error) { // error handling }
URL: www.markaltman.ca
Comments
