Hi,

I am trying to make 2 circles (MC) move with the LEFT arrow after I click on one of them (selecting witch to move)(ex.clic ball1 move it with the key, then click ball2 and move it..). But I can move only one circle, the other it doesn't respond when I click on it. Can you help me with this?
---------ball1
on (press){ sel=1; } on (keyPress "<Left>"){ if(sel==1) this._x = this._x -5 }
---------ball2
on (press){ sel=2; } on (keyPress "<Left>"){ if(sel==2) this._x = this._x -5 }
------------first frame
sel=0
Reply With Quote