I was reading through a tute on collission detection and I found what I think Im looking for. ( detecting collission when an object is in a "drag' status)

but I dont understand it....its slash syntax...I'm a newbie to dot sytax!! I'm not certain what all these become in MX 2004. could anyone translate for me?

this is a quote from the tute:
Code:
7. Now in the first frame of your ENEMY movie, enter the following code:

flag = this.hitTest("/ship"); if (flag == true) { tellTarget ("/") { gotoAndStop
 ("hit"); } } You do this by selecting setVariable from the Actions menu. Then in the Variable section, enter: flag 

and in the in the Value section, enter: this.hitTest("/ship")

8. Then after that line of code, enter the following:

if (flag == true) { tellTarget ("/ship") { gotoAndStop (2); } } This is the code that will tell your ship movie to explode upon collision.

9. That's really all there is to it! Have fun!
This is what I was working with before I went searching. I have this on my drag object

Code:
on(press){
	startDrag(this);
	if(_root.pin.hitTest(_root.balloon)){
		_root.balloon.balloon2.gotoAndPlay("popped");
	}
}

on(release){
	stopDrag();
	}
this code works if I have the if statement on the RELEASE event, but not on the drag event.......

I hope thats enough explanation.

Thank you in advance for any help

Mark