# Script work offline (In browser n .swf) but not online

**URL:** <https://forum.kirupa.com/t/script-work-offline-in-browser-n-swf-but-not-online/202449>\
**Category:** flash\
**Created:** [October 1, 2006, 12:31pm UTC](https://forum.kirupa.com/t/script-work-offline-in-browser-n-swf-but-not-online/202449 "2006-10-01T12:31:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chup](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/chup/32/925_2.png) [@chup](https://forum.kirupa.com/u/chup)\
**Post date:** [October 1, 2006, 12:31pm UTC](https://forum.kirupa.com/t/script-work-offline-in-browser-n-swf-but-not-online/202449/1 "2006-10-01T12:31:17Z")

</div>

Hi all,

I got this script

```auto

on (release) {
	var lv:LoadVars = new LoadVars();
	lv.onLoad = function(success:Boolean) {
		if (success) {
			//trace("lala"+lv.returnMessage);
			notificationMsg.htmlText = lv.returnMessage;
		} else {
			notificationMsg.htmlText = "failed";
		}
	};
	lv.load("http://www.st.com/backendScripts/microsites_checkMailingList.aspx?merchantCode=MONO&email="+monoemail.text+"&");
}

```

Somehow it will work offline, etc in broswer and .swf itself, but when i upload it to the server it doesn’t work.

I’m pretty sure the crossdomain policy is being taken care of, so any idea where is the problem?
