The parts in a flash unit are usually very densely packed. This makes trying o find a replacement difficult. While a particular capacitor might work electrically finding one to fit in the available space is problematic. There is also the hazard involved with the capacitor used in flash units. More than enough amperage to stop the heart.