Need some help with a drag and drop game!

I just need a little help with tis code!!


_global.score = 0;
_global.maxscore = 200;
_root.correct = new Sound();
_root.correct.attachSound("correct");
MovieClip.prototype.checkMyPos = function() {
 if (eval(this._droptarget) [COLOR=blue]!== eval("_root.dt"+this.id)) {[/COLOR]
  this._x = this.xpos;
  this._y = this.ypos;
  _root.fartsound.start();
 } else {
  _root.correct.start();
  _global.score++;
  this.gotoAndStop(2);
  this.enabled = false;
[COLOR=red]  this._x = dt1._x;
  this._y = dt1._y;[/COLOR]
  if (_global.score>=_global.maxscore) {
   _root.gotoAndPlay(2);
  }
 }
};
stop();

I need the code marked [COLOR=red]red[/COLOR] to be a variable like the code marked [COLOR=blue]blue[/COLOR][COLOR=black], but I can’t figure out how to do it right.[/COLOR]

I want it to be like “dt + this.id”

Thanks!!!:wink: