The way flux compression works is that you have a pre-existing magnetic field (generated by a large electromagnet) that threads a conducting pipe. And explosive charge outside the pipe causes it to collapse. However, it is "hard" for magnetic field lines to move through conductors at high speed. Therefore, as the conducting shell collapses, the flux (flux = magnetic field * area) has to stay constant but be compressed to a much smaller area, so the field strength goes up. This creates a very large dB/dt, which can in turn induce large currents in other conductors, i.e., an EMP.
This is a localized and relatively weak affect compared to the 'traditional' EMP generated by detonating a nuclear weapon outside the earths atmosphere. In this case, the nuclear blast creates a wave of high speed electrons which simultaneously impact the atmosphere and suddenly decelerate. Because this happens coherently over a large area, it creates a powerful EMP over an enormous area.