Hello,
I’m having trouble unloading movie clips. I’ve tried a bunch of different things based on the forums & searching online, but still can’t get it to work. Here’s my code:
stop();
this.createEmptyMovieClip("blank_mc", 16);
with (blank_mc) {
_x = x;
_y = y;
}
this.createEmptyMovieClip("description_mc", 18);
this.attachMovie("textToDisplay", "description_mc", this.getNextHighestDepth(), {_x:-100, _y:100});
loadMovie(imgurl, blank_mc);
goBack.onRelease = function() {
removeMovieClip(this.blank_mc);
removeMovieClip(this.description_mc);
gotoAndPlay(27);
};
It won’t remove the two clips I loaded on entering this frame. Is it a hierarchy issue?
I have a row of thumbnails. When the user click a thumb, they view that image (blank_mc) and a description alongside it (description_mc). If they click the “back” button I want to image and description to go away and redisplay the thumbs -> gotoAndPlay(27).
What happens is that the thumbnails show up, but the image and description are still there - they didn’t unload…
I’m so confused. Any ideas??
Thanks.