# \[mx\] Co-ordinates?

**URL:** https://forum.kirupa.com/t/mx-co-ordinates/13685
**Category:** flash
**Created:** [February 16, 2003, 10:06pm UTC](https://forum.kirupa.com/t/mx-co-ordinates/13685 "2003-02-16T22:06:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)
#### Post date: [February 16, 2003, 10:06pm UTC](https://forum.kirupa.com/t/mx-co-ordinates/13685/1 "2003-02-16T22:06:02Z")

</div>

Could anyone point me in the direction of the tutorial that teaches how to apply coordinates to movies that will be externally loaded? I’ve seen it around somewhere but I can’t seem to find it again.  
It’ll be something like :  
x\_coordinate =  
y\_coordinate =

:love:  
~ Seretha

p.s. thanks for all the eariler help subquark but i really need to use it this way for the time being.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 11:16pm UTC](https://forum.kirupa.com/t/mx-co-ordinates/13685/2 "2003-02-16T23:16:33Z")

</div>

You’ll have to set a little preloader to know when your movie is fully loaded:

```auto
this.createEmptyMovieClip("yourContainer",0);
yourContainer.loadMovie("your_movie.swf");
this.onEnterFrame=function(){
  var l=yourContainer.getBytesLoaded();
  var t=yourContainer.getBytesTotal();
  if (l > 0 && l >=t){
    yourContainer._x=150;
    yourContainer._y=150;
  }
}

```

Untested, but it should look like that.

pom :cowboy:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 11:27pm UTC](https://forum.kirupa.com/t/mx-co-ordinates/13685/3 "2003-02-16T23:27:46Z")

</div>

thank you very much. that is exactly the thing i’ve been looking for. it’s already running fine … now just to do the fine detailing.

:love:  
~ Seretha
