Originally posted by Deiberson 1. external flash that works with both
This shouldn't be an issue — the two cameras are essentially the same in this regard. One of the Promaster models has issues with the K-7, but I don't think with the K-x.
Originally posted by Deiberson 2. the ability to bounce off a wall or ceiling
Look here:
Pentax P-TTL Flash Comparison: Tilt / Swivel Flash Head
and pick any model highlighted in red at the top.
Originally posted by Deiberson 3. i read about a diffuser but don't know if the flash comes with one
Many flashes come with a built-in wide-angle diffuser, but this isn't the same as the "bare-bulb-effect" diffuser that you get with something like the Sto-Fen push-on things. If you ever need to do non-bounced light, that's probably another $16 well-spent. (Even if that's a ridiculous price for a small piece of molded plastic.)
Originally posted by Deiberson 4. 200-350 bucks
In this price range, Metz 48 AF-1 or Sigma EF530DG Super. The good news is that both are closer to your low-end of $200. My personal recommendation is the Metz, but many people like the Sigma too. Going down from there loses a lot of features, and going up to the higher-end Pentax or Metz flashes pushes the price to $400+.