Hello, and thanks for your question !!
When all the lights flash that is the indicator that the flood sensor has tripped. Thats why the water stops filling the washer. You should have a tech remove the sensor and test it, if the sensor is ok then you may need to replace the main board.
I hope this helps answer your question, if so please click the green accept button, if not im still here to assist you,
looking forward to your reply,