Camera fly

I saw some where where you could make the camera fly in the 3d view and control it with the mouse can anyone tell me how to do this?

Cntrl+F with Camera selected. Left click is forward, middle click is back, Cntrl is down, Alt is up. Hit spacebar to stop.