I have a very nasty issue and not sure at all where it comes from ..
I'm using AIR 3.2 , targeting iOS , within Flash Builder 4.6. I'm not using flash authoring..
This is the RTE I'm getting when creating a b2Fixture from a shape or from the body. Here the stack:
TypeError: Error #1006: value is not a function.
at cmodule.Box2D::FSM__Z20b2Body_CreateFixturePvP8_AS3_Val/work()
at Function/()
at Function/()
at Box2DAS.Dynamics::b2Fixture()[/Developer/Repositories/app/app-client/src/main/air/Box2DAS/Dynamics/b2Fixture.as:25]
at Box2DAS.Collision.Shapes::b2Shape/create()[/Developer/Repositories/app/app-client/src/main/air/Box2DAS/Collision/Shapes/b2Shape.as:26]This is what i'm doing:
in Main constructor I call:
Code:
b2Base.initialize()
This is the part that cause the RTE:
Code:
body = world.CreateBody(new b2BodyDef());
var circle:b2CircleShape = new b2CircleShape(radius*scale);
var fixture:b2Fixture= shape.create(body);
Please help
