onClipEvent(enterFrame) on the timeline

I want to duplicate an MC every 5th second, so I came up with this code:


i = 100;
p = 0;
onClipEvent(enterFrame){
p++;
if(p>150){
duplicateMovieClip(_root.myMC, "myMC" add _root.i, _root.i);
p=0;
i++;
}
}

(placed on the timeline)

I know this doesn’t work, because onClipEvent only works on buttons or MCs. So the question is: is there an onTimelineEvent or something that’d work on the timeline?