It's as good a flop as you can hope for given our holdings. But, we were not playing our cards, remember? The raise was because of his weak limp preflop. You have to continuation bet regardless of the flop if you are going to play like that. Here we have the added bonus that the cont bet is also a semi bluff in the event we are called. Bet, take it down, nice play.
Ok, we check, "dont want to play a giant pot for a flush draw"-- why are you now playing your cards when before you were playing your opponent/position? If you think the pot is going to be "giant" after your continuation bet, then you are raising too much preflop or are playing with too short of stacks.
Ten rolls off on the turn, and our passive (limp pre) opponent BETS, and bets most of the pot. Pretty clear that the turn hit him in my opinion, therefore good raise (we are not going to fold our flush, don't want a single high spade to draw for free, and are likely to get called by the "made" hand of our opponent).