author layout vs. physics driven layout?

Hi,

I have gone through the "hello world" tutorial of Box2D. As a designer who is used to layout of visuals in Flash/Flex, I would like to use the Flash/Flex IDE to layout my stuff first on stage (this object is placed 10 pixel from top, 20 pixel from left, etc.) and then apply physics to these visuals. Meaning initially I as the author would like full/precise control as to where stuff placed on the stage before physics is applied in the world, and from this author layout to physics driven layout should be visually smooth.

As I found out so far, it's hard to associate graphics to bodies http://www.box2d.org/wiki/index.php?title=Linking_graphics_to_bodies_in_Box2D_AS3 pixel precisely. I have to approximate where the displayObject is placed by fine tuning the positions of its physics body.

I hope I am wrong since in one of the demos, I saw objects spin off right from where the mouse is clicked, meaning I could place an object where I want it to be.
Right? Wrong?

I hope this makes sense. Thanks.
Usually, the easiest way to do what you are describing is to loop through all the graphical parts and create bodies and shapes based off of their positions and angles. Once you develop that kind of system, it becomes very easy to visually organize the physical simulation.
I built something specifically for this purpose:

http://www.sideroller.com/wck/

That's pretty out of date from my working copy (which I hope to put online soon), but still works well. I come from a designer background as well and agree laying things out visually is a lot easier than doing it in code.
Thanks much! I am going to check into the code sometime later.

I am still pulling my hair out to just align the body def with the display object but I guess I am getting there (?). The real body is always shifting towards top left of the displayobject, with the offset distance being half width/height of the displayobject.
oh man. I finally got it:

boxDef.SetAsOrientedBox(_halfwidth, _halfheight, new b2Vec2(_halfwidth, _halfheight));

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