#1 (permalink)  
Old 11-26-2008, 04:42 AM
Registered User
 
Join Date: Nov 2008
Posts: 1
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

Thanks

Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Image Problem trasper Graphics and Flash 5 02-01-2008 10:43 AM
framespacing="0" problem solved cssiscool Programming and Scripting 4 06-14-2007 07:27 AM
javascript / php / forms problem divx Programming and Scripting 2 05-24-2007 11:13 AM
weird problem with FF 1.5.0.6 flashwood59 Programming and Scripting 0 09-11-2006 01:35 PM


All times are GMT -5. The time now is 02:05 PM.

 
Clicky Web Analytics
CloudContacts
Loop11
Page.ly


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.1 PL1
© 1997-2009 HTMLCenter