Help with moving between walls

Hi!
I've starded to learn a box2d and I need advice.
I have a next task:
There are 4 walls and one object(circle) in center.
It's necessary to simulate the movement between these walls.
When I press mouse object starts move to walls.
when an object reaches the wall it should be reflected from it.

I think a wall is a b2EdgeShape with restitution=1
Object is a b2CircleShape
Gravite is null
Angle can be a random value.
I saw some tutorials and read the manual but I can't undestand:
- where is a centrer of world?
- How to set position on walls?
- How to call a ApplyImpulse method if my object is moving and has a different positions in time?
How to implement box2d structures?
Could you help me with a box2d-as3 code?
p/s/ I've fogot to say that code needs under 2.1a version.All tutorials and examples use 2.0

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