I decided to make the code available because otherwise it will just continue to collect dust.

My code is more or less devoid of commenting, making it more difficult to decipher. The majority of it is original, but I adapted a significant amount of code from Gary Rosenzweig's Using Director 7, and from the wonderful community of Director users on the Web. If you need my help to make sense of something, let me know.