All three LEDs flashing on a Castle ESC means it is not getting valid radio input. IT can be a problem with your receiver, the cable between ESC and RX and something broken inside the ESC. (I had one of the three wire leads broken off, luckily a friend helped solder it back.)
So first check with another receiver.