# Tile-based loadmovie problem

**URL:** https://forum.kirupa.com/t/tile-based-loadmovie-problem/229283
**Category:** programming
**Created:** [June 15, 2007, 1:38pm UTC](https://forum.kirupa.com/t/tile-based-loadmovie-problem/229283 "2007-06-15T13:38:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Dwight](https://avatars.discourse-cdn.com/v4/letter/d/85e7bf/32.png) [@Dwight](https://forum.kirupa.com/u/Dwight)
#### Post date: [June 15, 2007, 1:38pm UTC](https://forum.kirupa.com/t/tile-based-loadmovie-problem/229283/1 "2007-06-15T13:38:24Z")

</div>

I wasn’t sure what to call this title as I’m not that good with English… I hope you understand my problem.

I’ve followed the great tutorials on tile-based games from [Tonypa](http://www.tonypa.pri.ee/tbw/start.html) and I’ve got everything working :thumb:  
But now I want to load the game.swf in another swf which hold some nice graphics and dynamic textfields for the score etc. When I use the following code:

```
ActionScript Code:
[FONT=Courier New][LEFT]myplaceholder.[COLOR=#0000FF]loadMovie[/COLOR][COLOR=#000000]([/COLOR][COLOR=#FF0000]"mygame.swf"[/COLOR][COLOR=#000000])[/COLOR];

```

myplaceholder.[COLOR=#0000FF]\_lockroot[/COLOR] = [COLOR=#000000] **true** [/COLOR];  
[/LEFT]  
[/FONT]

Everything works just fine, but then I can’t give my “points” value from the game.swf to the variable “points” in the root. (\_root.points += this.points);

If I leave out the “\_lockroot” stuff, the game doesn’t show (well) because it uses the 0,0 coordinates from the root.

Can someone please help me out?
