DEVPPL
http://www.devppl.com/forum/

Moving problem
http://www.devppl.com/forum/viewtopic.php?f=47&t=12450
Page 1 of 1

Author:  david.brown [ Thu Dec 04, 2008 7:08 am ]
Post subject:  Moving problem

hello,

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
Thanks
-----------------------------------------
http://www.infysolutions.com
Outsourcing software development

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/