Dynamic movieclip masking

Damit !!! again i’m in trouble:{

A movieclip _root.mist to be masked with the duplicate movieclips i.e _root[“mc”+amount] but it is not working …

This is the script on the frame 1 of the movie

amount = 1;
while (amount<50) {
duplicateMovieClip (_root.flower, “mc”+amount, amount);
_root[“mc”+amount]._x= 40*amount;
_root.mist.setMask (_root[“mc”+amount]);

Any suggestions…thanx in advance

A movie clip can only have one mask. Put the movie clip you want to duplicate inside of another movie clip, duplicate it and then set the container movie clip as the mask. :slight_smile:

There`s an example of what Kode has described here http://www.kirupaforum.com/forums/showthread.php?t=65011

Thank you very much. i’ll try this