how do you check if a mouse is over a specific mc with _droptarget...I know I've done it before I just can't anymore
www.danleroux.com
Code: on (press) { startDrag(this); this.swapDepths(100); } on (release) { stopDrag(); if (this._droptarget=="/target1") { setProperty(this, _x, 444.8); setProperty(this, _y, 133); this._visible = false; } else { setProperty(this, _x, 76); setProperty(this, _y, 128.3); } }
on (press) { startDrag(this); this.swapDepths(100); } on (release) { stopDrag(); if (this._droptarget=="/target1") { setProperty(this, _x, 444.8); setProperty(this, _y, 133); this._visible = false; } else { setProperty(this, _x, 76); setProperty(this, _y, 128.3); } }
Forum Rules