# Load movie

**URL:** <https://forum.kirupa.com/t/load-movie/14743>\
**Category:** Uncategorized\
**Created:** [March 2, 2003, 6:06am UTC](https://forum.kirupa.com/t/load-movie/14743 "2003-03-02T06:06:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ukiran](https://avatars.discourse-cdn.com/v4/letter/u/c2a13f/32.png) [@ukiran](https://forum.kirupa.com/u/ukiran)\
**Post date:** [March 2, 2003, 6:06am UTC](https://forum.kirupa.com/t/load-movie/14743/1 "2003-03-02T06:06:48Z")

</div>

Hi!

I would like to know how to load a movie in a particular postion(centered) in the current movie.I’ll be glad if someone can help me out with this soon.Thanks! 🙂

---

<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:** [March 2, 2003, 7:51am UTC](https://forum.kirupa.com/t/load-movie/14743/2 "2003-03-02T07:51:41Z")

</div>

hey **ukiran** =)

when a movie or jpg is loaded into a movie clip … the upper left corner of the movie or jpg will be placed at the registration point of the movie clip.

[size=1]what the hell is the registration point ?? :crazy:  
[http://www.kirupa.com/developer/mx/rpoint.htm[/size]](http://www.kirupa.com/developer/mx/rpoint.htm%5B/size%5D)

based on that … you can easily place them wherever you want 🙂

here’s an example on how to center it automatically …

---

<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:** [March 2, 2003, 8:12am UTC](https://forum.kirupa.com/t/load-movie/14743/3 "2003-03-02T08:12:05Z")

</div>

Good example, kax… 😉

The only problem ukiran will have is to figure out the instance.\_width and instance.\_height part when the external file is loaded dynamically… See [this thread](http://www.kirupaforum.com/showthread.php?s=&threadid=16411) to see how to solve that problem…

Once you understand what kax did and what I did, all you need is to combine two to get what you want to achieve… :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:** [March 3, 2003, 6:33am UTC](https://forum.kirupa.com/t/load-movie/14743/4 "2003-03-03T06:33:29Z")

</div>

Thanks guys!That was really helpful!

---

<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:** [March 3, 2003, 8:27am UTC](https://forum.kirupa.com/t/load-movie/14743/5 "2003-03-03T08:27:56Z")

</div>

no problem **ukiran** =)

---

<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:** [March 4, 2003, 5:26am UTC](https://forum.kirupa.com/t/load-movie/14743/6 "2003-03-04T05:26:15Z")

</div>

😉

---

<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:** [March 4, 2003, 5:48am UTC](https://forum.kirupa.com/t/load-movie/14743/7 "2003-03-04T05:48:30Z")

</div>

I tried the following code to find out the dimesnsions of the loaded swf file,but it isnt working…mwidth and mheight take values=0.(container is an empty movieclip…)

on (release) {  
loadMovie (“orgScreenShot.swf”, “container”);

```
mwidth=container._width;
mheight=container._height;

```

}

How do I fix this?

---

<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:** [March 4, 2003, 6:03am UTC](https://forum.kirupa.com/t/load-movie/14743/8 "2003-03-04T06:03:07Z")

</div>

Hey, ukiran…

That’s called crossposting and it is considered read bad… Please post ONE thread and do not post multiple threads with it… Also, this question has nothing to do with your previous question… Know what I mean??? :evil: I have answered real quick on the other thread…

---

<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:** [March 4, 2003, 8:26am UTC](https://forum.kirupa.com/t/load-movie/14743/9 "2003-03-04T08:26:10Z")

</div>

I’m sorry! I’m new to such forums …so I didnt know…It wont happen again.

---

<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:** [March 4, 2003, 9:06am UTC](https://forum.kirupa.com/t/load-movie/14743/10 "2003-03-04T09:06:15Z")

</div>

Thank you… 😉
