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
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);
}