PDA

View Full Version : delaying a duplicated MC -->


d2k
11-11-2002, 02:41 PM
Lo...

I have an MC that i'd like duplicated 7 times but have each duplicate play at a delayed set time (few ms) frm the previous one...simple i'm sure...

Any ideas...

Cheers...

sfa
11-11-2002, 03:01 PM
You could do this using the enterFrame event handler. If you frame rate is 20fps for example, place some code on an mc so that a new movie will be duplicated every 1/20 sec.
[as]
onClipEvent(enterFrame){
count +=1;
if(count <=7){
movieclip.duplicateMovieClip("movieclip" + count,count);
}
}
]

SFA