How to make the right jump & run movement

If i use jump & run behaviour, my player slides over the ground a little bit after i released the button even though i got my
friction on 1 and damping full and the other problem is that the player can't run and jump at the same time and
if i move my player while jumping the player goes down (with gravity) 1 pixel / second.

I want it to be like my other game:
http://gamejolt.com/games/platformer/30-seconds-to-survive/30107
cause i'm recreating it in Flash