Platform bugs?

hi,

im back into game making and im making a platformer again now this code i have now is kind of buggy.

  1. it jumps trough platforms.
    2.you can press space very often wich results in mid air jumps(looks ugly)
    maybe it can be fixed somehow so i only jumps once?

flash attached hope you guys can help :slight_smile:

thanks in advance

i guess that would be very helpfull nathan :smiley: but variables make me puke, can you tell me where to add the stuff :stuck_out_tongue:

edit: oh yeah nathan some parts of your site don’t work(give’s some text error on the page)

you put in on the frame. You givbe the man an instance name of char