Photo slideshow....new to FLASH

I am new to FLASH and need to implement the photo slideshow as listed in the article http://www.kirupa.com/developer/mx2004/xml_slideshow.htm

I did understand the code but what I could not was how to create those layers and put entites in them?

any help wud be greatly appreciated…