That flashing is the EHC telling you the headlight is burned out.
I know you said you just replaced it but pull it back out and put 12volts to it and make sure it is working.
If its working then you may have a harness or EHC issue.
If your still using the old H4 Halogen you will do yourself a huge favor by upgrading to an LED H4 replacement.
H4 LED replacement