A beam scanning/switching method utilizing a transformation electromagnetics device is presented. A flat focusing lens based on the coordinate transformation approach is designed such that the field radiated by an antenna at the lens focus is transformed into a directive beam emitted normal to the lens surface. The main beam can be scanned by moving the antenna in the focal plane. Physical movement of the source or the lens can be avoided by placing an array of radiators in the focal plane. Selective excitations of individual antennas in a linear array configuration result in switched beams. Full-wave numerical simulations are performed, and the results for 2D lens configurations with line sources are provided.