Flash code from the a few years back. I'm archiving it here as I'm taking my old 'AdeCode' site offline. Perhaps someone will find it useful.