3 Replies Latest reply on Aug 4, 2006 3:16 AM by Newsgroup_User

    array of movieclip instances

    anant_dhume
      hello ,
      I am developing a drag and drop application

      i would like to store all hit areas which are movieclip instances in a array

      var test_array:Array=new Array();
      test_array=["target1","target2","target3","target4"];

      late check which of the hit areas have the user droped some other movie clips

      for (var i:Number=0; i<=test_array.length; i++){
      if (eval(equip_name._droptarget) == _level0.plan1.test_array ){
      //====some code====
      }
      }

      when I do
      trace(_level0.plan1.test_array
      ) i get undefined

      where am i going wrong

      regards
      anant