When MC is duplicated, do action?

what syntax should i use if i want to duplicate a movieclip, and when that movieclip is duplicated, i set some values, and then call a function to modify those values in an onEnterFrame event handler.
[rough pseudocode]

_root.onEnterFrame = function(){
    for(i=0;i<10;i++){
        duplicateMovieClip("mc"+i);
        set some ["mc"+i]._values;
        call  some ["mc"+i].function();
    }
}