A new code for Spectral Amplitude Coding -Optical Code Division Multiple Access (SAC-OCDMA) is proposed and is called Flexible Cross-correlation (FCC) code. The FCC code possesses various advantages; including easy code construction using Tridiagonal matrix compared to other SAC-OCDMA codes such as MDW, MQC and MFH, shorter code length and the important properties of this code is the flexible cross-correlation. Our results reveal that FCC code can effectively alleviated Phase Induced Intensity Noise (PIIN) and allows large cardinality and improve the bit error rate performance.