ok i have a question, i am working on a platform game and i want to know how to make one clip stop. how do you make a clip stop moving??
i used this script on the clip
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
this._x = this._x-12;
this.gotoAndPlay(“left”)
}
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
this._x = this._x +12;
this.gotoAndPlay(“right”)
}
}
you get it,
well you get the point. the main movie clip’s instance name is char and the movie clip that i want to stop it is called wall. please help me.