That's weird, I thought I answered this post last night... must have been half asleep!
I made a free tool for creating polygon shapes here:
http://forum.thegamecreators.com/?m=forum_view&t=194938&b=48
When making polygon shapes in box2d you have to;
1-Create the shape in a clockwise order
2-Make convex shapes only
3-Use multiple shapes to create concave shapes
My tool makes it a bit easier by not allowing you to create invalid shapes and outputting an easily loadable shape definition file (Tier 1 code provided).
Hope it helps!
EDIT: I did answer this same question from you last night. Please don't post multiple threads about the same subject it is really not necessary and will only annoy people. Your original thread here:
http://forum.thegamecreators.com/?m=forum_view&t=198298&b=41
this.mess = abs(sin(times#))