how to remove walls stickness

Hello!

I have a little problem.

i just try to create simple platformer.

I have allocated body of the player with possibility to jump and move.
But there is strange error at contact of the player to walls.
The body sticks to wall if not to release key though should slide downwards under the influence of gravitation.

i found what changing of b2_velocityThreshold = 0 can fix this problem. But it dont work.

Please help me.
you can see video with my problem here
http://www.youtube.com/watch?v=r-zoLL_cAZY

Here is some code of body creation and force aplying.
Code:

public function create_player(px:int,py:int,h:int,w:int,scale:int):void
      {
         var world_scale:int = scale;
         var my_body:b2BodyDef = new b2BodyDef();
         var d:Boolean = new Boolean(true);
         var npx:int = px + (h / 2);
         var npy:int = py + (w / 2);
         
         my_body.position.Set(npx/world_scale, npy/world_scale);
         if (d) {
            my_body.type = b2Body.b2_dynamicBody;
            
         }
         my_body.fixedRotation = true;
      
                  
         var my_box:b2PolygonShape = new b2PolygonShape();
         my_box.SetAsBox(w / 2 / world_scale, h / 2 / world_scale);
         var my_fixture:b2FixtureDef = new b2FixtureDef();
         my_fixture.shape = my_box;
         my_fixture.density = 5.0;
            my_fixture.friction = 0.1;
            my_fixture.restitution = 0.1;
         
         player_body=world.CreateBody(my_body);
         player_body.CreateFixture(my_fixture);
         
         
         //Для корректного взаимодействия героя с окружающем миром при перемещении, следует запретить засыпание физической модели
         player_body.SetSleepingAllowed(false);
         
         
      }


Code:
public function move_player(x_speed:int,jump_s:Boolean):void
      {
         var jump:Boolean = false;
         jump = jump_s;
         if (jump) {
            player_body.ApplyImpulse(new b2Vec2(0, -50), player_body.GetWorldCenter());
            }   
         if (x_speed != 0){
            
            player_body.SetLinearVelocity(new b2Vec2(x_speed, player_body.GetLinearVelocity().y));
            
            }
            
                  
         
      }


Code:
rivate function create_tile(px:int,py:int,h:int,w:int,scale:int,tbBA:ByteArray):void
      {
         var world_scale:int = scale;
         var my_body:b2BodyDef = new b2BodyDef();
         var d:Boolean = new Boolean(false);
         var npx:int = px + (h / 2);
         var npy:int = py + (w / 2);
         
         my_body.position.Set(npx/world_scale, npy/world_scale);
         if (d) {
            my_body.type = b2Body.b2_dynamicBody;
            
         }
         var my_box:b2PolygonShape = new b2PolygonShape();
         my_box.SetAsBox(w / 2 / world_scale, h / 2 / world_scale);
         var my_fixture:b2FixtureDef = new b2FixtureDef();
         my_fixture.shape = my_box;
         /*my_fixture.density = 1.0;*/
            /*my_fixture.friction = 0.0;*/
            /*my_fixture.restitution = 0.1;*/
         tile_body=world.CreateBody(my_body);
         tile_body.CreateFixture(my_fixture);
         
         tileBitmapData = new BitmapData(w, h, false, 0x000000);
         tbBA.position = 0;
         tileBitmapData.setPixels(new Rectangle(0, 0, h, w), tbBA);
         tileBitmap = new Bitmap(tileBitmapData);
         tileBitmap.smoothing = true;
         tileBitmap.x = px;
         tileBitmap.y = py;
         addChild(tileBitmap);
         
      }


Sorry, my English so bad.
Thanx to all viewers. I fix this problem.

i just use Force.
Code:
public function move_player(x_speed:int,jump_s:Boolean):void
      {
         var jump:Boolean = false;
         jump = jump_s;
         if (jump) {
            if (contact_listener.can_jump()){
            player_body.ApplyImpulse(new b2Vec2(0, -2), player_body.GetWorldCenter());
            }
            }   
         if (x_speed != 0) {
            
            player_body.ApplyForce(new b2Vec2(x_speed*3,0), player_body.GetWorldCenter());
            if (player_body.GetLinearVelocity().x > 3) {
               player_body.SetLinearVelocity(new b2Vec2(3, player_body.GetLinearVelocity().y));
               }
            if (player_body.GetLinearVelocity().x < -3) {
               player_body.SetLinearVelocity(new b2Vec2(-3, player_body.GetLinearVelocity().y));
               }
            //player_body.SetLinearVelocity(new b2Vec2(x_speed, player_body.GetLinearVelocity().y));
            //player_body.ApplyForce(new b2Vec2(x_speed, 0), player_body.GetWorldCenter());
            //trace(player_body.GetLinearVelocity().x);
            trace(contact_listener.can_jump());
            
            }
            
                  
         
      }

Original thread: https://box2d.org/forum/viewtopic.php?t=4686