Xml with flash mask

Hi,

Can anyone give me some idea as to how to create such a nice and gradual loading Flash presentation. I am sure it is been done through XML. But how it works with mask.
http://www.americanapparel.net/