Ok,since you have a huge jumping and platform problem,I'ma help you out.
Put this code into your character...
onClipEvent (load) {
gravity = 10;
walkSpeed = 5;
maxJump = 10;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
_xscale = -scale;
_x -= walkSpeed;
this.gotoAndStop(2);
}
if (Key.isDown(Key.RIGHT)) {
_xscale = +scale;
_x += walkSpeed;
this.gotoAndStop(2);
}
if (air == true) {
_y += gravity;
state = 3;
}
if (_root.platforms.hitTest(_x, _y, true)) {
air = false;
} else {
air = true;
}
if (Key.isDown(Key.UP) && jump == true) {
_y -= jumpSpeed;
gotoAndStop(3);
}
if (air == false) {
jump = true;
jumpcount = 0;
jumpSpeed = 22;
}
if (Key.isDown(Key.UP)) {
jumpcount += 1;
this.gotoAndStop(3);
}
if (jumpcount>maxjump && jumpSpeed>-2) {
jumpSpeed -= 2;
}
}
onClipEvent (keyUp) {
this.gotoAndStop(1);
}
All your platforms should be in one MC...give it the instance of "platforms"
Change the maxJump thing at the beginning from 10 to whatever makes the game good...