QuickB2 getting started help

Code:
var world:qb2World = qb2Stock.newDebugWorld(new amVector2d(0, 10), this.graphics, stage, stage);
world.start();

var box:qb2PolygonShape = qb2Stock.newRectShape(new amPoint2d(200, 200), 200, 50, 10);
var circle:qb2CircleShape = qb2Stock.newCircleShape(new amPoint2d(200, 200), 60, 1);
var motor:qb2RevoluteJoint = new qb2RevoluteJoint(box, circle);
motor.targetSpeed = 10;
motor.maxTorque = 10;
world.addObject(motor, box, circle);


This will make a long box and a circle and attach them with a revolute/motor joint. Shapes can be added directly to the world in QuickB2. Joints can attach shapes or bodies together.
It works! Thank you very much.

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