How to Switch colors of an RGB LED with two Piezo-sensor

Yes, there I'm not using resistors for the Piezos because when I used them (connecting 1M ohm resistor in parallel as here (http://arduino.cc/en/Tutorial/Knock ) the code basically works good but the Led just stays on just for a while, so I thought the problem Where the resistors..