A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Does Anyone Know.......

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    24

    Does Anyone Know.......

    If i do

    in one object:
    duplicateMovieClip(_root.mc1, "mcone" + i, i)
    i++

    and in another object:
    duplicateMovieClip(_root.mc2, "mctwo" + o, o)
    o++


    There... I have tons of duplicated objects. how do i make all mctwo's and mcone's hittest between each other?.

    Thank you so much in advance.

  2. #2
    Senior Member wessamzeidan's Avatar
    Join Date
    Sep 2003
    Location
    Lebanon
    Posts
    160
    You can put the names of mcone's and mctwo's in arrays and loop through these two arrays to check for collision using hitTest or some other technique

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