Hi All
could some one help me out?
What I am trying to do is set up a hit test for two objects. Unfortunatly they need to be inside emblem (movieclip).
Unfortunatly the het test is not working neither is the else.
Probably due to my as3 lepperacy.
**
thank to any one who takes th time to look**
function dropIt(event:MouseEvent):void {
event.target.stopDrag();
var TARGET:MovieClip = MovieClip(event.target.name);
var myTargetName:MovieClip = MovieClip("emblem." + event.target.name);
if (TARGET.hitTestObject(myTargetName)){
reply_txt.text = "Good Job!";
} else {
reply_txt.text = "Try Again!";
}
}
brndn