Here is a great tip to be able to preview your AS code in quicklook in Snow Leopard. It even supports colours!!
Download and install this http://code.google.com/p/qlcolorcode/
Then go into the package file of this plugin and edit the plist file and edit the top part so it looks like this
Now you can change your file associations to textedit or any other text tool and now you have cool quicklook for your as files