# Positioning Movie Loaded in \_level1

**URL:** <https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918>\
**Category:** flash\
**Created:** [October 20, 2002, 12:29am UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918 "2002-10-20T00:29:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![earph](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/earph/32/79_2.png) [@earph](https://forum.kirupa.com/u/earph)\
**Post date:** [October 20, 2002, 12:29am UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/1 "2002-10-20T00:29:20Z")

</div>

[FMX]

I have tried everything to get my movie loaded in \_level1 to be positioned correctly. The movie always jumps back to the top left corner.

Here’s my code:

stop();  
unloadMovie(1);  
loadMovieNum(“1dictate.swf”, 1);  
\_level1.\_x=random=(164.3);  
\_level1.\_y=random(111.4);

Everyone says the code is right, but it doesn’t work!!

Please help…

---

<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:** [October 20, 2002, 7:15am UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/2 "2002-10-20T07:15:04Z")

</div>

You’re accessing \_level1 too soon. You have to wait for the clip to load before you access the \_x and \_y properties. Technically, at least one frame.

Cheers.

pom :asian:

---

<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:** [October 20, 2002, 11:19pm UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/3 "2002-10-20T23:19:05Z")

</div>

So, you’re saying to just put this:

\_level1.\_x=164.3;  
\_level1.\_y=111.4;

in a frame right after my loadMovie? I did that and it’ not working for me. The movie still doesn’t position. WTF?

What am I doing wrong?

---

<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:** [October 21, 2002, 8:56am UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/4 "2002-10-21T08:56:38Z")

</div>

I’m not sure. Are you doing this online or locally? If it’s online, you’ll have to preload I guess, and if it’s local, then I’m totally wrong. :-\

---

<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:** [October 21, 2002, 2:27pm UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/5 "2002-10-21T14:27:15Z")

</div>

\_level1.\_x = _(number);_  
\_level1.\_y = _(number);_

i would suggest the same thing.  
🙂

---

<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:** [October 21, 2002, 10:36pm UTC](https://forum.kirupa.com/t/positioning-movie-loaded-in--level1/6918/6 "2002-10-21T22:36:01Z")

</div>

Thanks guys… I finally figured it out. I was putting my coordinates in the wrong frame. I was trying to do them on the button rather than the enterFrame on the loadMovie…

Thanks for all the help…

cheers
