Iamba
08-12-2004, 03:10 PM
I have an array of thumbnails that I create through duplicated movie clips and loading jpegs into the clips. I have more jpegs than I do space in the strip I am using to display them however and I wanted to create a mask for each of the thumbnails so they would only be visible in the center of the strip.
duplicateMovieClip(_parent.thumbStrip.ImageButtons , "ImageButtons"+i, i);
duplicateMovieClip(_parent.thumbStrip.mask, "mask"+i, (i+totalImages));
_parent.thumbStrip["ImageButtons"+i].loadMovie("Thumbs/"+ _parent.slideImage[i]);
_parent.thumbStrip["ImageButtons"+i].setMask(_parent.thumbStrip["mask" + i]);
When I run this, the movieclips are simply duplicated above the thumbnails and do not act as masking layers. I don't want the masks to be visible, I just want them to act as a window. I've searched the forums and the links I have found don't quite relate to this approach that I can tell.
Any suggestions as to what I am doing wrong, and is this question clear?
duplicateMovieClip(_parent.thumbStrip.ImageButtons , "ImageButtons"+i, i);
duplicateMovieClip(_parent.thumbStrip.mask, "mask"+i, (i+totalImages));
_parent.thumbStrip["ImageButtons"+i].loadMovie("Thumbs/"+ _parent.slideImage[i]);
_parent.thumbStrip["ImageButtons"+i].setMask(_parent.thumbStrip["mask" + i]);
When I run this, the movieclips are simply duplicated above the thumbnails and do not act as masking layers. I don't want the masks to be visible, I just want them to act as a window. I've searched the forums and the links I have found don't quite relate to this approach that I can tell.
Any suggestions as to what I am doing wrong, and is this question clear?