Your first attack wouldn't even get one sneak attack at the start of the fight. It says specifically that if you do any action that IS NOT hide or sneak you become seen just before the action, making them no longer flat footed, making them no longer susceptible to sneak attack.
This really burns me at all angles, not even just for rogues. Flat footed is irrefutably a combat-based condition. It doesn't have any application outside of combat. What is the point of the conditions making them vulnerable to an attack when they lose that vulnerability the exact second you attack?! It makes no sense.