hi guys...hope this example helps here
you can see it in action, and here
is the source code.
the example uses a tiny physics (verlets) engine. this is a common technique used in many games to simulate cloths and soft bodies.
this implementation isn't very optimized. so use..but don't abuse