Can some one help me in my game?

hi , i am trying to make a game here , what i want to make is , when you press left button , it will move left and when u press right button it will move right , but i can’t make it . can some one help me ?

Just done a bit of work on your file, you can find it here http://www.gifsrus.com/testfile/game1.fla

i don’t get it , the file says

Error: A ‘with’ action failed because the specified object did not exist.

and the tank is missing .

this will get you moving…


onClipEvent (enterFrame) {
	if (key.isDown(key.RIGHT)) {
		this._x += 5;
	}
	if (key.isDown(key.LEFT)) {
		this._x -= 5;
	}
}

plus i’ve attached a game that i made a while ago, just like you are making now…you should take a look at it…

Oops sorry,id forgotten to saveafter id written a function. Try the link again.
I just attached the tank dynamically, it is there.
http://www.gifsrus.com/testfile/game1.swf