hi insomniac…here’s my coding for the first dragable picture named ‘drop1’…the pictures are all in the same size…the six drop targets are movieclip and named them ‘target’…so that if the ‘drop1’ is placed randomly at the targets…it will get the target’s x and y coordinates…i’m not sure if this is the correct way of writing the condition…but the coding doesn’t work.

on (press) {

_alpha = 20;

this.startDrag();

}

on (release, releaseOutside) {

_alpha = 100;

stopDrag();

if (this._droptarget == “/target”) {

this._x = _root.target._x;

this._y = _root.target._y;

```
_root.drop2._x = _root.target._x;
_root.drop2._y = _root.target._y;
}
else if (this._droptarget == "/target") {
this._x = _root.target._x;
this._y = _root.target._y;
_root.drop3._x = _root.target._x;
_root.drop3._y = _root.target._y;
}
else if (this._droptarget == "/target") {
this._x = _root.target._x;
this._y = _root.target._y;
_root.drop4._x = _root.target._x;
_root.drop4._y = _root.target._y;
}
else if (this._droptarget == "/target") {
this._x = _root.target._x;
this._y = _root.target._y;
_root.drop5._x = _root.target._x;
_root.drop5._y = _root.target._y;
}
else if (this._droptarget == "/target") {
this._x = _root.target._x;
this._y = _root.target._y;
_root.drop6._x = _root.target._x;
_root.drop6._y = _root.target._y;
}
//go back to original place
else if (this._droptarget == "/target") {
this._x = _root.target._x;
this._y = _root.target._y;
_root.drop1._x = _root.target._x;
_root.drop1._y = _root.target._y;
}
```

}