# Loading information in movie clips

**URL:** <https://forum.kirupa.com/t/loading-information-in-movie-clips/160410>\
**Category:** flash\
**Created:** [August 25, 2005, 6:42pm UTC](https://forum.kirupa.com/t/loading-information-in-movie-clips/160410 "2005-08-25T18:42:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mabans](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Mabans](https://forum.kirupa.com/u/Mabans)\
**Post date:** [August 25, 2005, 6:42pm UTC](https://forum.kirupa.com/t/loading-information-in-movie-clips/160410/1 "2005-08-25T18:42:37Z")

</div>

I know how to load up info from php into the main stage like this:

```auto

serverInfo = new LoadVars();
serverInfo.load("file.php");
serverInfo.onLoad = function() 
	{
	map.text = this.map;
	};

```

how can I load it up in a movie clip… I tried this but didn’t work

```auto
serverInfo = new LoadVars();
serverInfo.load("file.php");
serverInfo.onLoad = function() 
	{
	serverStats.map = this["map"];
	};

```

Any ideas?
