help,how to remove a body?

I have two bodies.

ContactListener class extends b2ContactListener

function BeginContact()
{
var bfA:b2Fixture=contact.GetFixtureA();
var bfB:b2Fixture=contact.GetFixtureB();
var BA:b2Body=bfA.GetBody();
var b1:*=BA.GetUserData(); //a movieclip,extends BallBase
var BB:b2Body=bfB.GetBody();
var b2:*=BB.GetUserData(); //a movieclip,extends BallBase


if(b1 is BallBase)
{
trace("Is Ball");
BB.GetUserData().visible=false; // BB's movieclip can't see.

//I want BB to remove.how can I to do?
//or how to use DestroyFixture () ,about arguments b2Fixture,I have many Ball instantce.


BA.SetType(0);
}
}

3Q...
Its not a good idea to destroy bodies during a contact callback. Instead you should cache them in some data structure( an array works ) and deal with them after the timestep.

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