Re: how do I wire a switch(s) to control multiple outlets
Your description is confusing. You say you have red wires at the switch box but none are mentioned at the outlets. I believe the flash was caused by you connecting a hot (black) and a neutral (white) to a switch. Turning the switch on caused a short. On a switch you should have a hot and a return or on a 3-way a hot or return and 2 travelers.. The wiring you described sounds like you have a 3-way switchs but I don't understand how you had only 2 reds and 2 blacks but 3 whites. It seems something is missing.
Be sure you live your life, because you are a long time dead.-Scottish Proverb