# Movieclips

**URL:** <https://forum.kirupa.com/t/movieclips/276898>\
**Category:** Uncategorized\
**Created:** [December 4, 2008, 8:12pm UTC](https://forum.kirupa.com/t/movieclips/276898 "2008-12-04T20:12:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceyesuma](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@ceyesuma](https://forum.kirupa.com/u/ceyesuma)\
**Post date:** [December 4, 2008, 8:12pm UTC](https://forum.kirupa.com/t/movieclips/276898/1 "2008-12-04T20:12:09Z")

</div>

I can not figure this out. this code seems to add the uiThumbs3rd to the whole stage but I

am trying to put it on a movieclip shown here.There is no code in the timeline and I have

the movieclip McContent drawn on the stage with the instance name mcContent. I think I

have the whole thing out of context since I am adding this stuff from an external class.

Can some one explain how to put a movieclip on the stage and add a uicomponent to it?  
Thanks

```auto

private function selectedName(evt:Event):void {
			var mcContent:MovieClip=new MovieClip();
			addChild(mcContent);
			evtIndex=evt.target.selectedIndex;
			key=majorArray[evtIndex];
			uiThumbs3rdComponent=new UIThumbs3rdComponent(fileName,key);
			mcContent.addChild(uiThumbs3rdComponent.uiThumbs3rd);
		}

```
