No convex shape?

Hi
I'm trying tu use "SetAsArray" function of b2PolygonShape to create complex shapes. I read that polygon shapes have to be convex but i'm not sure what realy mean convex. For example in swf, is this shape(floor) convex?
http://www.speedyshare.com/files/24713903/helloPruba.swf
If it is, why it's not working?

I thought no-convex(concave) shape are like this in the picture.
Am i wrong? Then what i can shapes like this, when i have only informations about vectors?
I will be very glad for some reply.
your shape is concave.
pretend you are standing on the edge of your shape and walking around it on the edge lines. If you always have to turn left (or right) to go to the next edge, you have a convex shape. If sometimes you turn left but sometimes you turn right, the shape is concave.
Ok, thanks, now i understand 😉

So what i can build that shapes but not manually?
I found this http://mnbayazit.com/406/bayazit but is in C++.
Is anyone who moved it to AS, or i have to do it myself?
I dont know C++ so it will be a little problem for me...
Maby it's some diferrent way to do that?
Please give mi some advice.
The process is the same in any language isn't it? Anyway I just saw a very good implementation in flash, on another thread here on this forum.
viewtopic.php?f=8&t=5729
try the link:
http://www.sideroller.com/wck/?f=9

I don't know how to do it, but that guy obviously does, and it looks like you can get the source code too. Check it out.
This might be worth reading:
http://www.psyked.co.uk/box2d/simple-bo ... eation.htm
Thanks You very very much!!!

IF
I'm not sure i need such a big engine in my case 😛
But the wave effect is very impressive. I probably will be interested this in future 🙂

Tapud
I haven't read this yet but it looks like it is what i need 😀

Thanks again!

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