duplicate a mc in flash

Out of context: Reply #1

  • Started
  • Last post
  • 11 Responses
  • function820

    so you want the original clip to stay put, but a new one to be created over top of it and begin to drag?

    make a movie clip and name it mc_orgClp, paste the code below into the first frame of the movie

    its really basic, but can be elaborated from here, probably best to make it a function if you have different movies that need to be selected

    depthLevel = 1;
    num = 0;
    mc_orgClp.onPress = function() {
    duplicateMovieClip(this, "mc_newClip"+num, depthLevel);
    _root["mc_newClip"+num].startDra...
    num++;
    depthLevel++;
    };
    mc_orgClp.onReleaseOutside = function() {
    stopDrag();
    };

View thread