# Projector, LoadVars and Proxy servers

**URL:** <https://forum.kirupa.com/t/projector-loadvars-and-proxy-servers/289540>\
**Category:** flash\
**Created:** [June 1, 2009, 4:25pm UTC](https://forum.kirupa.com/t/projector-loadvars-and-proxy-servers/289540 "2009-06-01T16:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikebedwards](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@mikebedwards](https://forum.kirupa.com/u/mikebedwards)\
**Post date:** [June 1, 2009, 4:25pm UTC](https://forum.kirupa.com/t/projector-loadvars-and-proxy-servers/289540/1 "2009-06-01T16:25:18Z")

</div>

Hi,

I am developing a module that will run on a CD-Rom as a projector. It needs to post small amounts of data to an online URL to facilitate tracking.

Consider this:

```auto
var myVars = new LoadVars();
myVars.username = _root.userName;
myVars.email = _root.emailAddress;
	 
myVars.sendAndLoad("http://www.blahblahblah.com/postData", myVars, "POST");
// once vars have been loaded, we will have these variables:
myVars.onLoad = function(success) {
		if (success) {
                         //Load data from online page
			var textIn = myVars.datafromweb;
			if (textIn == 'Success') {
				_root._status = "Communication successfull";
			} else {
				_root._status = "Communication failed:"+textIn+"result:"+this;
			}
		} else {
			_root._status = "Communication failed";
		}
	};

```

This works fine, unless the user’s computer is behind a corporate proxy server, which is specified in the Internet settings of the browser.

My question…Is it possible to specify a proxyserver (and port number) using Loadvars and SendAndLoad from a Projector EXE?

If not, can anyone suggest another way of achieving this?

Thanks,

Mike
