A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Easy Duplicate Movie Question

  1. #1
    Hello, i want to duplicate a movie clip, but i cant seam to get it to work. I know it is simple, but if you could just show me how to do i t i would realy appretiate it, thank you VERY much.

    The movie i wish to DUP is on the main timeline and is called "mark". Thank you so much :P

    Elyxia Elvinbright

  2. #2
    Senior Member
    Join Date
    May 2001
    Posts
    425
    Code:
    on (press, keyPress "<Space>") {
        duplicateMovieClip (_root.man, "man"+ shotname, shotname);
        setProperty ("man" + name, _x, _root.man._x);
        setProperty ("man" + name, _y, _root.man._y);
        if (j>=1000) {
            j = 1;
        }
        name = name+1;
        if (name>=100) {
            name = 1;
        }
    }
    this will dupe a "man" movie and put it where the old one is. this is only works with moving items, or you wont be able to see the duped movie. this is a flash 4 script, bit when i converted it to 5 it didnt work so lets jst leave it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center