5 Replies Latest reply on Aug 29, 2013 11:35 AM by Ned Murphy

    identifyMovieClip

    Ron Colmen Level 2

      if 5 movieclips are placed inside mc2, and the user is able to make a choice by clicking on one of them, How is it possible to be able to identify which movieclip was clicked.

       

      for (i=0; i<5; i++) {

      _root.mc1.mc2["color"+i]

      }

      p.s.Assume there are a large number of movieclips ["color"+i]. Five of those movieclips will be loaded randomly each time the user decides to make a choice.