Hi i have created a simple drag and drop game where users have to match shapes by dragging and dropping. What i would like is for a counter to count each correct drop and display a message if they are sucessfull. Here is the code:
on(press) {
startDrag(this);
}
on(release) {
stopDrag();
if (this._droptarget == "/circletarget") {
this._x = _root.circletarget._x;
this._y = _root.circletarget._y;
}
else{
this._x = 48.0;
this._y = 207.1;
}
}
I am using Flash Mx2004. I appreciate any help.:q: