Flex sensor to Arduino is just an analog input. There may be some "Analog read" sample code, but if not, writing your own is not difficult. Arduino reference is very helpful, and the info on the analog read command can be found here:
http://arduino.cc/en/Reference/AnalogRead
If you give me some more information, I would be able to write the code for you. All the best,
-B