Moving static bodies?

I am desperately trying to create a platform type of game. I have created many static bodies as my ground. When the player gets to the edge of the screen, I am trying to make those static bodies go the inverse direction the player is going. Can static bodies not move?

I did the following:
-Created b2PolygonDef();
-Created b2BodyDef();
-Linked a Sprite to the userData

Created a Variable and assigned it the following:
-Variable = m_world.CreateStaticBody(bodyDefVariableHere);
-Variable.CreateShape(polyDefVariableHere);
-Variable.SetMassFromShapes();

I have the steps and iterations called upon an Event Listener.

It all works fine, if they were non static shapes. Is there a way to have it so static shapes can move?
Also, if they can, are there any tricks to keep the velocity of the player the same while player moves to the right, and also move
all of the static shapes inversely so that when they are moved inversely, it doesn't appear as if it speeds up the speed at which the player is moving?

I know how would a static box move, haha. But, could I make it a non static box that does not move unless the player is moving.

Thanks.
Well, while it does make sense that static objects could not have velocities greater than 0, I think you can still change their position with SetXForm().
If you are trying to move boxes in arbitrary ways but still have them effect other physics shapes, you are talking about kinematic bodies. Those are available in version 2.1( which is in alpha right now ) but I'm not sure that is what you are actually trying to create.

I think you are trying to create tiling platform pieces for your game and implement scrolling into it. That isn't difficult and has nothing to do with the physics. Simply, put your character and your world pieces into a container movieclip and then scroll it in the opposite direction as the character movement.

I'm not willing to get into this in more detail, so if you ask then you'll have to wait for someone else to reply. My advice is to check out 8bitrocket.com, kirupa.com or actionscript.org for some beginner tutorials and then worry about the physics.

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