# Position movie loaded thru loadmovienum

**URL:** <https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357>\
**Category:** Uncategorized\
**Created:** [June 3, 2003, 7:10am UTC](https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357 "2003-06-03T07:10:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![efla](https://avatars.discourse-cdn.com/v4/letter/e/df788c/32.png) [@efla](https://forum.kirupa.com/u/efla)\
**Post date:** [June 3, 2003, 7:10am UTC](https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357/1 "2003-06-03T07:10:50Z")

</div>

how to postion a movie loaded thru loadmovienum action to the centre of the main movie.

---

<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:** [June 3, 2003, 7:14am UTC](https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357/2 "2003-06-03T07:14:35Z")

</div>

\_level\<B\>#\</B\>.\_x = 100;  
\_level\<B\>#\</B\>.\_y = 300;

Obviously \<B\>#\</B\> is the level number you are loading to.

---

<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:** [June 4, 2003, 6:15am UTC](https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357/3 "2003-06-04T06:15:37Z")

</div>

loadMovie(“xyz.swf”, 1 );  
\_level1.\_x = 100;  
\_level1.\_y = 100;

this is my code, but still it doesn’t work. Can you help me out by some other code.

---

<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:** [June 4, 2003, 6:30am UTC](https://forum.kirupa.com/t/position-movie-loaded-thru-loadmovienum/22357/4 "2003-06-04T06:30:21Z")

</div>

You can’t manipulate a movie until after it is fully loaded in. Being that the movie doesn’t get called in at the same time you call it, you can’t set it’s position yet.

My suggestion is to add [AS]\_level1.\_x = 100;  
\_level1.\_y = 100;[/AS] to the first frame of the movie you are loading in, that way the code gets fired after the movie is loaded in.
