A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: duplicated movieclip and goto command

  1. #1
    Member
    Join Date
    Sep 2004
    Location
    Qc
    Posts
    53

    duplicated movieclip and goto command

    i have it set up so that when the duplicated bullet hits the limitMC
    it makes the duped bullet goto and play break.

    onClipEvent (enterFrame) {
    if (this.hitTest("_root.bullet")) {
    tellTarget ("_root.bullet") {
    nextFrame();
    }
    }
    }

    but it doesnt work! is it because its a duplicate?

  2. #2
    Space Monkey daarboven's Avatar
    Join Date
    Sep 2001
    Location
    in the basement boiling soap...
    Posts
    217
    if this is the code for limit mc and you duplicate bullet, it cannot work because with duplicating a movieclip you give it a new instancename as the second parameter.
    :::i am jacks complete lack of surprise:::

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