Problem with attaching movieclips in a loaded movieclip

Hello everyone I really hope someone can figure this out. I just cant get it to work and I’m starting to think it can’t be done :frowning:

I am loading in a movieclip via the loadMovie funtion. This movieclip has alot of movieclips with linkage in its library.

Since i from the beginning had trouble making the loaded movie attach the chosen movieclip I simply put this code in its main timeline

this.attachMovie(_root.kast, "goalie", this.getNextHighestDepth());

kast is a variable defined in the main movie and this worked allright except that I just realized I really need to be able to stop/start/and remove the attached movie with actionscript from the main movie without having to load the movie again.

I’m trying to speak to and attach movieclips from the loaded movie like this


this.createEmptyMovieClip("holder",this.getNextHighestDepth());
holder.loadMovie("myMovie.swf");
holder.attachMovie("myMovieClip", "myMovieClip", this.getNextHighestDepth());

doesn’t work even tho myMovie.swf does got loaded and placed inside holder

Please help or point me in the right direction