Originally Posted by
Tannin
The flash system has neither the ability not the desire to measure distance, Scotty. It doesn't care how far away your subject is, only how bright it is.
The usual arrangement is that the flash system fires a very short pre-flash, measures the light coming back through the lens (this it the E-TTL part!), and from that, calculates how strong to make the main flash, which follows as soon as the flash system has finished doing its sums, i.e., a few milliseconds afterwards. The pre-flash can have unintended consequences in some cases - for example, when I'm working with small birds which get spooked by the pre-flash and take off before the main flash fires. (They have amazing reflexes!)