The way I look at it is that if your hand wins a very large percentage of the time and ends up losing, it might just qualify as a bad beat. Since percentages change throughout a hand, I think the makings of a bad beat may appear after the money gets in.
Thus, I would consider your flush and my K a bad beat.
In my example, he only had me by 6% before the flop. Thus, my outdrawing him would hardly be considered a bad beat. But when I hit my king and he's only got one out, I consider that a bad beat.
In your example, you obviously were far behind (about 70%-30%). But when you hit your flush you were a 98% favorite. He had to get extremely lucky to beat you. SInce he did, thats a bad beat. Especially since he put his money in as a big dog.
If we looked at it exclusively the way you propose, bad beats in general could only be judged by what players hold before the flop. Further, only hands that were ahead before the flop could qualify for a bad beat. That seems silly to me, and would make bad beat stories very boring. How about this example; Player A has pocket aces and Player B has pocket aces. Both go allin before the flop. Player A hits a four flush and takes it down. Is that not a bad beat for Player B just because they were even before the flop? I would consider it one.
It seems better to classify bad beats as situations were your opponent must get extremely lucky to win, and does. To me it doesn't matter as much when the money goes in, or what the percentages were before the hand started.
"In my book a hand with two players can not create two bad beats."
I agree with you that out of two hands there can only be one bad beat. That bad beat is determined at the end of the hand. If the 22 hits a set and it holds up, then AA suffered a bad beat. If 22 hits a set and the A hits on the river, then the 22 suffered a bad beat. One beat, depending on what happens. However, any given hand has the
potential to dish out multiple bad beats, as your example illustrates.
That's just my opinion, you can classify them however you choose. Its possible that my book has a few pages missing....or stuck together.