Rather than try to explain it all in text, I went ahead and shot this quick video explaining it. Say what you will about the jackboot thuggery of the TSA, but they were very professional, and easy going when I checked my bag with them both times.
Make sure you check with your airline, and the TSA before flying with a firearm to make sure you follow all of the policies and procedures.