A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Hit Detection with duplicated clips - needs help!

  1. #1

    Hit Detection with duplicated clips - needs help!

    When I duplicate a clip, the name changes and I can no longer use the origional clip's name for hit detection.

    How do I go about testing collisions with duplicated clips?

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Rio de Janeiro, Brazil
    From Flash MX2004 Help:

    (...)my_mc.duplicateMovieClip(newname, depth [,initObject])

    newname - A unique identifier for the duplicate movie clip.

    As the manual says, you must give it a name. Then... what's the problem??

  3. #3
    well, im making a game where the ammo that you shoot out are all duplicated clips

    I need the "enemy" objects to hit test with the duplicated ammo

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