A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] duplicateMovieClip problemo, help pls

  1. #1
    Senior Member
    Join Date
    Sep 2006
    Posts
    248

    [F8] duplicateMovieClip problemo, help pls

    Hi there...
    iam TRYING to duplicate a movie clip using this code:
    Code:
    for (i = 1; i < 30; i++) 
    {
       duplicateMovieClip(_root.mc_l_1["area_test"], _root.mc_l_1["area_test_" + i], _root.mc_l_1.getNextHighestDepth());
    } 
    
    po_x=-101.5;
    po_y=-1109.1;
    t=1;
     for (c = 1; c < 30; c++) 
       {
        _root.mc_l_1["area_test_" + c]._x = po_x;
        _root.mc_l_1["area_test_" + c]._y = po_y;
        po_y=po_y+ 102;
      if(t==19)
      {
       t=0;
       po_x = po_x+120;
       po_y=-1109.1;
      }
      t++;
     }
    But for some WEIRD reason that i dont understand, i just cant. It just doesnt work.
    Any idea?
    thanks.
    Leo.

  2. #2
    Total Universe Mod jAQUAN's Avatar
    Join Date
    Jul 2000
    Location
    Honolulu
    Posts
    2,429
    Try this,
    Code:
    _root.mc_l_1.area_test.duplicateMovieClip("area_test_" + i, _root.mc_l_1.getNextHighestDepth());

  3. #3
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    Nope... sadly, still not working...
    Anyone???
    please!

    Cheers!
    Leo

  4. #4
    Senior Member
    Join Date
    Sep 2006
    Posts
    248
    Still not duplicating the movie clip area_test inside of the movie clip mc_l_1.

    HELP!

    Cheers.

    Leo.

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