Some solders have a flux core , where the flux is inside the solder . The two principal types of flux are acid flux , used for metal mending and plumbing , and rosin flux , used in electronics , where the corrosiveness of acid flux and vapors released when solder is heated would risk damaging delicate circuitry .