5 Replies Latest reply on May 17, 2011 1:15 PM by kglad

    load movie clip once all drop targets have clips in them

    luke_hon

      Hi I'm now at the very last stage of my flash game, the forum has been really helpful, but i have one last issue. When the the 1. , 2. and 3. lines have boxes dropped on them I want the movie clip to load. I haven't been able to achive this. but I found a temporary way around it by making the clip load once the "3." target is full. this works but isn't completly accurate, I need it to also check if the other targets are full before the clip loads. I'm thinking it's something like:

       

      "if (demons_mc.hitTest("targetCircle3+targetCircle2+targetCircle1")){this._parent.gotoAndPlay ("join"); }"

       

       

      But I just cant get it right, Any help would be great as this is the only thing holding this project back. Below is a link to the swf and the code I currently have on all the dropable clips.

       

       

      http://www.sainters.net/flash_preview/flash_test/index.html

       

       

      on (press) {
          startDrag(this, true);
      }
      on (release) {
          stopDrag();
          if (this._droptarget == "/targetCircle3")
          {
              this._parent.gotoAndPlay("join");
          }
      }