Rafi33
May 19th, 2003, 01:07 AM
i HAVE A KIDS PUZZLE GAME..WHERE KIDS TAKE A BODY PART AND PLACE IT ONTO THE RIGHT PLACE OF A GRAYED OUT VERSION OF THE FULL BODY...NOW AFTER ALL THE PARTS HAVE BEEN DRAGGED I WOULD LIKE AN ANIMATION TO LOAD...SO I HAVE USED STATEMENTS ON EACH BODY PART MOVIE CLIP SAYING WHETHERE THEY ARE TRUE OR NOT...THEN ON MY ACTIONS LAYER I HAVE SAID IF ALL THE BODY PARTS ARE TRUE...LOAD ANIMATION...BUT IT DOESN'T SEEM TO WORK...HERE'S THE FILE...
INSIDE EACH MOVIE CLIP(BODY PART)
on(press){
startDrag("");
}
on(release){
stopDrag();
if (this.hitTest(_root.Bodymc))
{
this._x=279;
this._y=288;
_root.Description.gotoAndPlay("LegText");
_root.Balloon.gotoAndPlay("moveup");
_root.thePart=BodyCmc;
BodyCmc=true;
trace(BodyCmc);
}
else{
this._x=650;
this._y=124;
}
}
MAIN TIME LINE
thePart=function(tracingPart){
trace(tracingPart);
}
CheckBodyParts=function(){
if (RightArmCmc && LeftArmCmc && RightLegCmc && LeftLegCmc && HeadCmc && HeartCmc && BodyCmc){
gotoAndPlay(15);
}
}
stop();
THANKS
INSIDE EACH MOVIE CLIP(BODY PART)
on(press){
startDrag("");
}
on(release){
stopDrag();
if (this.hitTest(_root.Bodymc))
{
this._x=279;
this._y=288;
_root.Description.gotoAndPlay("LegText");
_root.Balloon.gotoAndPlay("moveup");
_root.thePart=BodyCmc;
BodyCmc=true;
trace(BodyCmc);
}
else{
this._x=650;
this._y=124;
}
}
MAIN TIME LINE
thePart=function(tracingPart){
trace(tracingPart);
}
CheckBodyParts=function(){
if (RightArmCmc && LeftArmCmc && RightLegCmc && LeftLegCmc && HeadCmc && HeartCmc && BodyCmc){
gotoAndPlay(15);
}
}
stop();
THANKS