It sounds like the secondary voltage on the flyback exceeded its maximum rating causing the insulation to fail, arc over and internally short circuit. The only fix is a new flyback.
To prevent this from happening again do the following: add more turns to the primary or reduce the power supply...