How is this done?

Hi!
Take a look at this site. http://www.orange-project.com/
You notice when you click on a button the current ‘site’ you are on dissapears befor the next one loads.

How is this done? It’s like the code tells flash first to ‘close’ the current page and then load the page you clicked on.

Thank you!!