Nice..im getting more experienced with actionscript...
But i keep getting problems ..And this time, i have another error in my game..
Look at the lines below:
//Stand Animation
onClipEvent (keyUp) {
this.gotoAndStop(1);}
//Right Run Animation
onClipEvent (keyDown) {
if (Key.isDown(Key.RIGHT)) {
this.gotoAndStop(2);}}
//Jump Animation
onClipEvent (enterFrame){
if (jumping == true) {
this.gotoAndStop (3)} else {gotoAndStop(1)}}
Ok, look at the ones in bold: they are contradictory.. or thats were i suppose, the problem is...
When i ask my Jump animation to go to frame 1, its because its not jumping... so it MUST go to frame1....
But my running animation says "When this key is pressed, go frame 2..." anyway, if i press the RIGHT key, it just does stand animation, cause if jump is not "true" then it HAS to go frame 1...get it >_>?
and i cant take out the "else" neither, cause then the jumping animation wouldnt end when my character touches the floor..
-ehem-
So here i am...anybody knows a way to solve this? ...thanks..=_=;