Drag and drop problem

hey

I am tryin to create a drag and drop game for children, i am using Flash actionscript 1.0 but on CS3.

The game is about dragging images such as a apple to the letter A and a ball to the letter B etc.

I am having problems making the image lock to the letter if it is correct. If the image is dragged to the incorrect letter it should go back to its orignal place.

At the moment the image can be dragged but it does not lock to the correct target instead it goes back to its original place even when it is dragged to the correct target.

This is the actionscript i have used:

on(press) {
startDrag(this);
}
on(release) {
stopDrag();
if (this._droptarget == “/appletarget”) {
this._x = _root.appletarget._x;
this._y = _root.appletarget._y;
}
else{
this._x = 518.3;
this._y = 298.4;
}
}

PLEASE HELP!!! Thanks