Dynamic txt and problem with AS

I’ve searched everywhere for a solution but cant seem to sort it out. I want 2 things.

Firstly, when an Mc hT _root.target a dynamic txt states “Well Done!” (or similar).
Secondly, when the Mc hT _root.target, the score goes up by 5.

I’ve been working on these small scripts (with help from others) but as my AS skills are a bit shoddy, I don’t really knwo where to stick’em…Any ideas?
This is the code I’m using:

_root.onEnterFrame = function () {
		for (x = 0; x<myArray.length;x++) {
			    if (_root.target.hitTest(_root["mc"+x])) {
					 if (_root.target._xscale < 150) {
							 _root.target._xscale += 5
							 _root.target._yscale += 5
							 _root["mc"+x].removeMovieClip()
					    }
				} else {
					 _root.isTarget(this)
				}
				
		}
}

this is the code I’m trying to attach…

if (_root.target.hitTest(_root["mc"+x])) {
	  _root.result="That good!";
	} else {
	  _root.isTarget(this)
	}

I’m really annoyed :m:about this as it’s supposed to be straight forward! (sorry to sound like a spoilt brat :b:, but it’s annoying isn’t it?)