It seems they use a variety of methods. I'm sure velro/double stick tape is used a bit if they want the hat to stay on in a scene - thanks to the nice clear picture dvds offer, you can see the pin keeping Zoot's hat in place in early episodes. And if i remember correctly, when they brought out...