A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: duplicateMovieClip

  1. #1
    Senior Member mzhang's Avatar
    Join Date
    Aug 2000
    Posts
    407

    duplicateMovieClip

    Hi there,

    I am working on the action of duplicateMovieClip...I would like to get duplicated movie clip on entire stage....

    It duplicates 200 times on X at the moment. but I also want on Y.

    for example:

    -----------------------------------------
    -----------------------------------------
    -----------------------------------------
    -----------------------------------------
    -----------------------------------------
    -----------------------------------------
    -----------------------------------------


    Cheers
    Attached Files Attached Files

  2. #2
    Flashkit Veteran joejoe2288's Avatar
    Join Date
    Apr 2004
    Location
    Hickville, Oregon
    Posts
    2,554
    something like this...
    So tired of all the fighting....

    http://joejoe2288.kawanda.net

  3. #3
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    Or this ...

  4. #4
    Senior Member mzhang's Avatar
    Join Date
    Aug 2000
    Posts
    407
    thanks all,

    it is not what I *want*

    frst code shows the results slowly....I just want to get the final results when I open the swf file....

  5. #5
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    Doesn't my version do that? If not, you'll need to explain more.

  6. #6
    Senior Member mzhang's Avatar
    Join Date
    Aug 2000
    Posts
    407
    Originally posted by AlsoGaiusCoffey
    Doesn't my version do that? If not, you'll need to explain more.
    hi man...thanks for reply it quickly

    have u seen my code attached above? I just want to get the results of the sample below

    ---------------------------------------
    ---------------------------------------
    ---------------------------------------
    ---------------------------------------
    ---------------------------------------
    ---------------------------------------
    ---------------------------------------


    got? cheers

  7. #7
    Senior Member
    Join Date
    Aug 2002
    Location
    Dublin, Ireland
    Posts
    1,749
    I'm on MX03 so I can't open your file. As far as I can see, mine opens with a grid of duplicated movieclips. (Actually there is a code bug so columns are rows and vice versa. But it all works.)
    JoeJoe does the same, but spaces it over time.
    All you would have to do to use mine, is to call the grid function with the correct number of rows and referencing your MC rather than the box. (You can edit out all the interactivity stuff if you want, simply comment out the lines from "o.onRollOver" to "o.onRelease".)

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