Electron dynamics and radiation generation in a flying focus