Background tricks

How do I accomplish something like what I’ve attached? One color on the left part of the screen, another on the right part, a line exactly in the middle and my flash animation exactly in the middle.

Thanks