595 Shift Registers

Some of the code from: http://arduino.cc/en/Tutorial/ShftOut21

in setup add:-
rowEnable = 1;

then in the main loop add the lines in red
void loop() {
//count up routine
for (int j = 0; j < 256; j++) {
//ground latchPin and hold low for as long as you are transmitting
digitalWrite(latchPin, 0);
//count up on RED LEDs
shiftOut(dataPin, clockPin, j);
//count down on BLUE LEDs
shiftOut(dataPin, clockPin, 255-j);
//enable the row
shiftOut(dataPin, clockPin, rowEnable);
rowEnable = rowEnable <<1;
if(rowEnable >0x80) rowEnable = 1;
//count up on Green LEDs
shiftOut(dataPin, clockPin, j);
//return the latch pin high to signal chip that it
//no longer needs to listen for information
digitalWrite(latchPin, 1);
delay(1000);
}
}

This will display very slowly but you will get the idea.