# Attaching a movie

**URL:** <https://forum.kirupa.com/t/attaching-a-movie/19272>\
**Category:** Uncategorized\
**Created:** [April 26, 2003, 12:21am UTC](https://forum.kirupa.com/t/attaching-a-movie/19272 "2003-04-26T00:21:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jggs79](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jggs79](https://forum.kirupa.com/u/jggs79)\
**Post date:** [April 26, 2003, 12:21am UTC](https://forum.kirupa.com/t/attaching-a-movie/19272/1 "2003-04-26T00:21:06Z")

</div>

hello, i’m a begginer in flash and would like to know how to attach a movie clip like that “grass fiel” thing into a regular 800x600 page and placing wherever you want. please help me out with it. thank you!

---

<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:** [April 26, 2003, 9:45am UTC](https://forum.kirupa.com/t/attaching-a-movie/19272/2 "2003-04-26T09:45:25Z")

</div>

create empty movie clip or any movie clip which will become a placeholder for your movieclip. if you attach movieclip from library, use attachMovie() else if you load external movie, use loadMovie();

for example, you have your movie in your library. you have a empty movie clip called “holder\_MC” and place it where ever you want your movie should be attached. then use actionscript to attach movie like;

holder\_MC.attachMovie(“linkageName”,“newName”,1);  
last number ‘1’ is the depth of the new movie.

if you load movie from somewere else, then

holder\_MC.loadMovie(“url”);

url is your external movies’ location.  
you can also create empty movie clip using action script. If you have any question on this post, just send private message to me. I had hard time learning this kinda stuff so I want to help people having same difficulty.

---

<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:** [April 26, 2003, 10:15am UTC](https://forum.kirupa.com/t/attaching-a-movie/19272/3 "2003-04-26T10:15:09Z")

</div>

Is this the same method used when you want to put something (mc) into a scrollpane component?I am having a lot of trouble doing this . . .
