I really like the SVG-parser. It makes things real easy

After i got it working i wanted to make sensors with it.
So i changed the following in the b2SVG.as :
Code:
public static function parseSVG(svg: XML, world: b2World, RATIO:Number, useDefaultCurveResolution:Number): Array {
var chainDef: b2EdgeChainDef = new b2EdgeChainDef();
shapes.push(world.GetGroundBody().CreateShape(chainDef));
into:
Code:
public static function parseSVG(svg: XML, Body: b2Body, RATIO:Number, useDefaultCurveResolution:Number, bouncyness:Number, sensorFlag:Boolean): Array {
var polyDef: b2PolygonDef = new b2PolygonDef();
polyDef.isSensor = sensorFlag;
shapes.push(Body.CreateShape(polyDef));
It's working like a charm and it's funny to see that concave shapes are only partly sensor.
I hope i don't look like a complete newbie for sharing this with you, but i was real happy with it to have it figured out.
Now i want to ask: Why did you use the b2EdgeChain to begin with?