Heya, I’m trying to just attach a movie clip inside of another movie clip, and it’s not working…which is beyond me. The following code is written in an actions layer within the first movie clip (main_mc). I want to attach a close button to close an externally loaded swf, and the close button has to be on top of the externally loaded swf, and it’s not attaching, so therefore I can’t close anything. Yeah, I know it’s really ghetto, but time and ignorance are huge factors XD;;
stop();
//place the closeContent_btn near the upper right of the metric swf
this.attachMovie("closeMetricContent_mc",2);
closeMetricContent_mc._x = 400;
closeMetricContent_mc._y = 400;
trace("attached closeMetricContent");
trace(closeMetricContent_mc.getDepth());
any glaring mistakes that I can’t see? o.O this is really confusing, it seems like such a simple task, I must be missing the greater picture.