How can this be done with collectable objects?

In my game i have balls that the player collects, and they disappear on contact with the main character. The thing is each ball has a shadow, and the shadow cant be inside the ball shape because then the shadow and ball are treated as one single object which messes up the collision detection (if you touch the shadow you also collect the ball). So i've put the shadow on a layer under the ball. But now of course the shadow dont disappear when the ball is collected.

Is there any easy way to do this? I've tried making the shadow symbol go to an empty frame when the ball is collected, but that didn't work well. I've also tried using bodyshapes, but no luck with that either..

Any ideas? I bet theres a simple answer! lol 🙄
Set it up like this:

Collectable extends Circle
CollectableWithShadow extends BodyShape

Put an instance of Collectable inside CollectableWithShadow and draw the shadow below it.

When collected remove CollectableWithShadow.
I've set it up like that but i'm having trouble with the AS... i can get it to remove the ball itself, but not the BodyShape object that the ball is inside.

I'm using the BoxMan class from your demo, and i have this:

Code:
var p:Pickup = e.other.m_userData as Pickup;
         if(p) {
            Util.addChildAtPosOf(world, new FX1(), p);
            p.remove();
         }

...Which removes the ball and plays an animation. Same as in your demo which uses a "pellet" instead. How can it be changed to work exactly the same as this but instead remove the BodyShape object? Keep in mind i'm bad at AS3!
Code:
(p.parent as BodyShape).remove();


or if you set isGuideShape = true on the circle object the contact event will dispatch off of the circle-and-shadow object instead.
Cheers mayo, thats done it 🙂 Now i just need to get this problem working and i'm ok... http://www.box2d.org/forum/viewtopic.php?f=19&t=7162

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