A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX] setting motion tween for duplicate movie clip

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Posts
    1

    [MX] setting motion tween for duplicate movie clip

    I can't figure out how to set a new motion tween for a duplicate movie clip I create with

    on (release, releaseOutside) {
    amount = 10;
    while (amount>0) {
    duplicateMovieClip("_root.birdmov", "birdmov"+i, i);
    setProperty("mc"+i, _x, random(275));
    setProperty("birdmov"+i, _y, random(275));
    setProperty("birdmov"+i, _alpha, random(275));
    setProperty("birdmov"+i, _xscale, random(50));
    setProperty("birdmov"+i, _yscale, random(50));
    i++;
    amount--;
    }
    }

  2. #2
    14yr old Member shavingcream's Avatar
    Join Date
    Jun 2007
    Location
    Santa Cruz CA
    Posts
    272
    can u tell me wat ur trying to do that code seems really scrabled and if this is in the frame u don't need to use _root.
    Signature Goes Here

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