Shift register help.

To CrossRoads,

I connected pin 13 (SCK) to SCLK on shift register, pin 11 (MOSI) to ser in on shift register, pin 10 to OE ,

I changed the code to this and I get "SPI was not declared in this scope"

-- START Questions, not related to code:
Also MOSI = Master out, slave in. so basically output of master (the main device that is in control) and MISO = Master in, slave out. So it is the input on the master and the output of the slave. the ss pin basically when turned high moves the 8 bits in the input register to the output then you put the RCLK (latch pin it sends out the output to control whatever device you have connected to the shift registers outputs? Below is what I think each pin does.

SHIFT REG:
SER - input where data goes in (MOSI)
OE - (output enable) enables output when High and disables when low
RCLK - this is the registers clock, must be pulled high to reshift (reset) new data to their new positions.
SRCLK - serial clock, shifts data when pulled high
SRCLR - serial clear, when pulled low clears all data from register, must be kept high to keep data from clearing.
END Questions, not related to code--

#Include<SPI.h>
byte ssPin = 10;
byte testData = 0xAA;  // test data
void setup(){
pinMode (ssPin,  OUTPUT);
digitalWrite (ssPin, HIGH);
}
void loop(){
digitalWrite (ssPin, LOW); // RCLK
SPI.transfer(testData); // SCK to SRCLK, MOSI to SER In. OE Low, MRCLR HIGH
digitalWrite (ssPin, HIGH);
}