View Full Version : Passing variables via POST from a Flash 9 movie
Aneurin, Mark II
February 11th, 2008, 02:27 PM
How would I do this? ANY tips or explanations appreciated.
Escape-Artist
February 11th, 2008, 10:17 PM
You would use a URLRequest like so:
var request:URLRequest = new URLRequest();
request.url = "http://www.somedowain.com";
// add variables to the request
request.method = URLRequestMethod.POST;
request.data = new URLVariables();
request.data.name = "john smith";
request.data.title = "hello you";
request.data.message = "foo bar";
var loader:URLLoader = new URLLoader();
loader.load(request);
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.