Drag 'n' Drog Joint Components Within Flash IDE

One cool thing about the AS version of Box2d is that if you set up your symbols & their classes properly in Flash, you can use the Flash IDE to author Box2d worlds. I've got it set up so that I can just drag symbols on to the stage and they automatically hook into the Box2d engine and respond like a Box2d body created any other way. It makes creating worlds (or game levels) a breeze - minimal code is required. I can even set the density, friction, isSleeping, etc. properties right within the "properties" panel of the Flash IDE by defining my symbols as components.

Now I'm trying to set up the same thing for the various types of joints - my goal is to come up with a system where I can define joints and connect bodies right within the Flash IDE without having to write code for every joint I want to define. I'll obviously have to write code to create & handle joints in the general sense - but I'd like this code to create the joints based off of variables provided by the Flash IDE. I'd like to be able to just drag 'n' drop joints onto the stage.

Does anyone have any suggestions on how to approach this? Are there any other Box2d world-authoring tools (AS, C++ or otherwise) that I could mimic? I think Flash components are probably the answer but I'll have to get a little more familiar with how they work...
I'm very interested in how you've done this, can you post an example .fla with a sample 'component'? I'm familiar with how to make a movieclip into a component, but i haven't been able to sucessfully link to Box2d...
Beeryan,

Decided to post the example as it's own topic. Here you go:

viewtopic.php?f=8&t=367

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