# This might be stupid=)

**URL:** <https://forum.kirupa.com/t/this-might-be-stupid/15969>\
**Category:** Uncategorized\
**Created:** [March 19, 2003, 9:22pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969 "2003-03-19T21:22:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![geedogg](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@geedogg](https://forum.kirupa.com/u/geedogg)\
**Post date:** [March 19, 2003, 9:22pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/1 "2003-03-19T21:22:48Z")

</div>

ive looked in the help files in flash but i cant find it.

How do i load in a movie clip from my library on to the stage?

---

<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 19, 2003, 9:26pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/2 "2003-03-19T21:26:42Z")

</div>

drag and drop

or you can do it with actionscrip using the attachMovieClip command

type that in your actionscript editor and then click the lil dictionary icon to see what flash says about how to use it 🙂

if you have a more specific question than that … post it =)

---

<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 19, 2003, 9:31pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/3 "2003-03-19T21:31:30Z")

</div>

can i load this into levels?

---

<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 19, 2003, 9:58pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/4 "2003-03-19T21:58:43Z")

</div>

yes, when you type the attachMovieClip command one of the things you put in between the parenthesis is the level to which you want the MC loaded

---

<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 19, 2003, 10:18pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/5 "2003-03-19T22:18:29Z")

</div>

be aware that a level has to exist before you can attach movies into it

---

<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 20, 2003, 6:17am UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/6 "2003-03-20T06:17:10Z")

</div>

i thought levels werer like a type of layer that was always there??

---

<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 20, 2003, 2:22pm UTC](https://forum.kirupa.com/t/this-might-be-stupid/15969/7 "2003-03-20T14:22:34Z")

</div>

There are levels and there are depths.

In Flash 5 help (maybe MX too), Macromedia mistakenly refered to depths as levels explaining that you can attach, duplicate or swapDepths movieclips into new levels. However, the term “level” or “\_level” is reserved for the levels at which external swfs can be loaded using loadMovieNum(“swfURL”, levelNumber). These are not the same as depths. Depths represent the arrangement of movieclips in a timeline. levels too are in arrangement, but only with other levels or with other loaded swfs.

In reference to layers, in a published swf, progmatically, there are no layers. In actionscript, you have no reference to layers and they are as good as gone when the flash movie is made into a swf. For the most part, they only allow you to organize your arrangement of placed movieclips more effectively, though each one of those movieclips is resolved to a single depth which dictates its arrangement in respect to all the other movieclips in that timeline. This can be checked using movieclipName.getDepth();

attaching a movie from the library requires not only that you specify a depth for the newly attached movie to exist, but what movieclip or timeline it is to exist in. That timeline can be either \_root, a movieclip of some sort or a level like \_level2 - but only if a swf was loaded into that level, otherwise it wont exist and not clip will be attached
