Based on the comic by matrix541: Upon being humilated in Ponyville, Trixie remembers how she once was the happiest unicorn in Equestria and how it all came apart...
(One of my earlier fanfics, now on Fimfiction)
Comic: http://matrix541.deviantart.com/art/Trixie-s-Story-258755970