Syntax help

I’m trying to write the Actionscript code that will move my MC to a certain point then reset. In other words, I want my MC to move left until it reaches -650 of the X position then start all over again from 750 of the X position.\r\rHere’s the code I’ve written which doesn’t work:\r\ronClipEvent (enterFrame) {\r _x-=2;\r&nbsp &nbsp &nbsp &nbsp }\rif (_x =-670\r _X = 740\r\rAny aid would be appreciated immensely.

try this:\ronClipEvent (enterFrame) {\r_x-=2;\rif(_x<=-670){\r_x=740;\r}\r}\r\r:) \rjeremy

Why don’t you read the answer to your previous post before posting this again? 't was already answered!

no he posted twice in the same day, accidently (i am guess since they are 3 minutes apart, must have hit the button twice). And Sinf decided to answer in this thread instead of the one that everyone else already commented in…