Box2D 2.1a “Rope Joint” ported to AS3
You may have noticed that the original C++ version of Box2D is now up to version 2.2.1. As of version 2.2.0 there were a few additions, one of which being a b2RopeJoint. For ActionScript 3.0 users the only choice to incorporate this feature was to use the Alchemy generated Box2D port. Developers using Box2DFlashAS3 by BorisTheBrave unfortunately did not have this as the port is of version 2.1a. That is, until now.
Because I am using the HaXe version of Box2D which is based off the Box2DFlashAS3 I needed it, and, from my searches on the internet, there seemed to be a few people who were still using Box2DFlashAS3 but wanted the Rope Joint. Hopefully this will help those people out. I have also updated my joints tutorial to incorporate the rope joint.
Installation instructions: Save these files into the Box2D\Dynamics\Joints folder. b2Joint will overwrite the existing b2Joint.
Update 1.01: Fixed bug when not setting anchor to centre and having zero gravity.