Flying spot scanner