# Loading a movie

**URL:** https://forum.kirupa.com/t/loading-a-movie/6751
**Category:** Uncategorized
**Created:** [October 15, 2002, 6:34pm UTC](https://forum.kirupa.com/t/loading-a-movie/6751 "2002-10-15T18:34:56Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)
#### Post date: [October 15, 2002, 6:34pm UTC](https://forum.kirupa.com/t/loading-a-movie/6751/1 "2002-10-15T18:34:56Z")

</div>

here’s the code i have currently

```auto

onClipEvent (enterFrame) {
	loadMovieNum("2B.swf", 0);
}

```

as it is now the movie that i tell it to load, 2B.swf in this case, loads in the whole screen. i want it to load in the symbol where the contoller is

[http://www.roughedout.com/newTour.fla](http://www.roughedout.com/newTour.fla)

the symbol is called movies and there is a controller mc on the main timeline of that symbol that tells the movie to load onClipEvent(enterFrame){

if you look at my file you can see the triangular box on the right where it says “none” thats where i want the movie to load eventually.

the 2B.swf is an external movie that has been formatted with a mask to fit that box

---

<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 15, 2002, 7:11pm UTC](https://forum.kirupa.com/t/loading-a-movie/6751/2 "2002-10-15T19:11:13Z")

</div>

nevermind … turns out i’m retarded … i forgot to supply the path for where i want the movie to load so by default it loaded in the main window.

i changed the code to read

```auto

onClipEvent (enterFrame) {
	_root.movies.loadMovie("2B.swf", 0);
}

```

and it works … except it plays waaaay down in the bottom right, almost off the screen.

how do i make it play exactly where i want it to? what controls where the movie plays when it loads?

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: [October 15, 2002, 8:03pm UTC](https://forum.kirupa.com/t/loading-a-movie/6751/3 "2002-10-15T20:03:53Z")

</div>

after you load the new clip, change its \_x and \_y properties. C’mon Shuga… you know this by now! 🙂

j/k

---

<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 15, 2002, 10:21pm UTC](https://forum.kirupa.com/t/loading-a-movie/6751/4 "2002-10-15T22:21:53Z")

</div>

would i do that in another frame or in the same script

would this work?

```auto

onClipEvent (enterFrame) {
	loadMovieNum("2B.swf", 0);
}
this._x=250;
this._y=250;

```

i’m not at work now so i can’t test the code _shrug_ yeah i shoulda been able to figure that out 🙂
