Hello all, hopefully someone can shed a light on this.
i found a nice piece of code to display some pictures.
now i have a strange problem here.
(ps: everything happens on the maintimeline)
when a user clicks the photobutton this code triggers:
this.createEmptyMovieClip("photo"+photoNum, getNextHighestDepth());
this["photo"+photoNum].attachMovie("photo", "photo", getNextHighestDepth());
now the movieclip “photo” consist on another movieclip that does the actual picture display/loading with some AS> photoHolder < loads the actual picture
so i thought ok, logically its _root.photo.photoHolder.removeMovieClip();
maybe even _root[“photo” + photoNum].photoHolder.removeMovieClip();
or _root.photo.removeMovieClip();
etc
i tried numerous other structures but i just can’t get it to work, for some reasons i just can’t unload the movieclip that shows the picture.
can anyone please give me a hint here? i tried posting it on other fora, but to no avail for now.
thanks heaps!