motorForce on Prismatic Joint errors?

I have run into an issue I just don't understand. I am making a prismatic joint but I get an error on "jointDef.motorForce = X.X"

Code:
var worldAxis:b2Vec2 = new b2Vec2(1.0, 0.0);
jointDef = new b2PrismaticJointDef();
jointDef.Initialize(FRAME, WHEEL1, new b2Vec2(WHEEL1.GetPosition().x, WHEEL1.GetPosition().y), worldAxis);
jointDef.lowerTranslation = -1.0;
jointDef.upperTranslation = 1.0;
jointDef.enableLimit = true;
jointDef.motorForce = 0.5;
jointDef.motorSpeed = 0.0;
jointDef.enableMotor = true;
m_world.CreateJoint(jointDef) as b2PrismaticJointDef;


Gets me:
ReferenceError: Error #1056: Cannot create property motorForce on Box2D.Dynamics.Joints.b2PrismaticJointDef.

If I comment out the motorForce line the swf works. I have tried changing the value, etc. What am I doing wrong?
It's maxMotorForce, not motorForce.
Ah, thanks.

I got my reference from here:
http://www.box2d.org/wiki/index.php?title=Manual/AS3#Prismatic_Joint

Is there a better place I should be looking for code reference?
No, the manual is still the best source, and that AS3 copy is fine. Looking at the source itself is the ultimate reference though, and it's quite well documented.

I've updated the wiki to correct for this mistake, thanks for spotting it.

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