Browser back buttons

Lately I have been seeing flash based sites that will work with your browser back and forwards buttons. I have also noticed on some sites that if you right click on the .swf they can have links to parts on the site in that as well.

Pretty cool stuff if you ask me. Can anyone point me to some tutorials or some documentation on these two ways of programming flash? I would very much like to learn more. If your wondering what I am talking about Fantasy Interactive would be a good place to go and see what I am talking about.

Thanks!