You are here: DEVPPL Forum Programming Java Forum
NOTIFICATIONS
54.087
MEMBERS
15.686
TOPICS
62.258
POSTS
  562
FLASH GAMES
7.740
TUTORIALS
 

Login

E-mail:
Password:

Moving problem

0

Loading

Moving problem

Postby David Brown » Thu Dec 04, 2008 7:08 am

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
David Brown
 
Reputation: 0
Posts: 1
Joined: Thu Dec 04, 2008 7:01 am
Highscores: 0
Arcade winning challenges: 0

Moving problem - Sponsored results

Sponsored results

Login to get rid of ads

 

^ Back to Top