Adding a sprite inside to a shape

Hi all

A quick question. How do I add a sprite to a shape? I this at all possible?

The reason is that I want to be able to move some text around as well as images and perhaps video.

I've been looking through the different classes supplied by the engine - but no luck.

Kind regards
Box2dFlashAS3, unlike a lot of it's competitors, is intended as just a physics engine, and doesn't provide any drawing capabilities besides that of DebugDraw. It is intended you implement anything more advanced yourself. That said, the HelloWorld testbed example provides an example of exactly what you want. To summarize, you basically attach Sprites to your movie root, link them to bodies by setting userData, and then each frame update the sprites position based on the body's XForm.

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