# Component issue

**URL:** <https://forum.kirupa.com/t/component-issue/169182>\
**Category:** Uncategorized\
**Created:** [November 14, 2005, 9:05am UTC](https://forum.kirupa.com/t/component-issue/169182 "2005-11-14T09:05:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CayoHueso](https://avatars.discourse-cdn.com/v4/letter/c/8e8cbc/32.png) [@CayoHueso](https://forum.kirupa.com/u/CayoHueso)\
**Post date:** [November 14, 2005, 9:05am UTC](https://forum.kirupa.com/t/component-issue/169182/1 "2005-11-14T09:05:54Z")

</div>

Hi everybody,

I have the following code in the first frame of a movie:

```auto

with(loaderM){
	loadThis = "email.swf";
	loadItHere = _parent.holder_mc;
}

```

loaderM is the instance name of a component to load external movies.

I want to use this component by attaching it from the library, using AS, so I change the code to this:

```auto

this.attachMovie("test2_loader", "loaderM", 2);
with(loaderM){
	loadThis = "email.swf";
	loadItHere = _parent.holder_mc;
}

```

test2\_loader is the Identifier for that component in the library.

But now the code does not work. Can you help me figuring out what happens here?  
Thanks a lot
