This 1A, 12V SMPS circuit is built around a low power offline switcher TNY266, a flyback transformer and some other easily available components.