Here is a sample of what I was talking about:
//------ other code missing (not imp)
var thumbHolder = attachMovie("holderMC", "holderMC" + i, i);
thumbHolder._x = i * spacing;
thumbHolder._y = 0;
var thumbLoader = thumbHolder.attachMovie("thumbMC", "thumbMC", this.getNextHighestDepth()); var thumbMask = thumbHolder.attachMovie("MaskClip", "MaskClip", this.getNextHighestDepth());
thumbMask._x = thumbLoader._x = 0;
thumbMask._y = thumbLoader._y = 0;
thumbLoader.loaded = function():Void {
thumbLoader.setMask(thumbMask);
}
//---------- other code missing (not imp)

Placed on my stage there is one of the MoviClips from my library "holderMC".
Inside this MC I have a few more MCs named "thumbMC" and "MaskClip".
"MaskClip" is on a mask layer for "thumbMC" inside "holderMC" (the layer shows blue). All three are "Export For Actionscript" in their preferences in the library. But I dont use this one that I place on stage, its alpha is set to 0 so that when the dynamic images are loaded they populate the screen and this one is just a place holder. or you can leave it off the stage, but make sure you select "Export in First Frame" on each of the MCs in the library prefs if you dont include a place holder.

HTH,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to