I found the solution myself...and I did K.I.S.S!
just add this code to "ball" MC's enterFrame()
Regards!Code:if(this.hitTest(ball2)) { if(ball._x>ball2._x) {this._x=this._x+1;} if(ball._y<ball2._y) {this._y=this._y-1;} if(ball._x<ball2._x) {this._x=this._x-1;} if(ball._y>ball2._y) {this._y=this._y+1;} }![]()





Reply With Quote
