Re: Wiring Flushmount Light Fixture
Just a guess.
One set of black and white wires is the power feed the other is to the switch. You will need to find out which has power. Once you know which has power connect the black lead to the white wire going to the switch, mark or tape that white wire black. You now have a white wire from the power source and the black wire from the switch. Connect the white wire to the two white wires from the light and the black wire to the two black wires from the light.
Be sure you live your life, because you are a long time dead.-Scottish Proverb