3 Replies Latest reply on Jun 6, 2009 7:41 PM by kglad

    DuplicateMovieClip&StartDrag

    Kanny N Level 1

      How can I drag a duplicated Movie Clip from DuplicateMovieClip Function? ( use one movie clip)

       

      Example below:

       

      on(press) {
      duplicateMovieClip("_root.a1","a2", 2);
      setProperty("a2", _xscale,100);
      setProperty("a2", _yscale,100);
      }

      on (release) {
        startDrag("a2",true);
      }

       

       

      It does dupllicat the Movie Clip but I can't drag the duplicate.  I learned this from a very old Flash lesson.  I wonder there is a new way to write it now.

       

      How do you define the depth in this function?

       

      Thx