Tutorial doesn't publish

I tried the tutorial on making a photo gallery in flash using XML. When I go to publish, after following instructions to a tee, I still get gobbledygook from flash.

I don’t think I’m doing anything wrong, but my output window reads,
"Error opening URL “file:///danx/Users/Staci/Desktop/photo/undefined”

What’s up with this?

http://www.kirupa.com/developer/mx2004/xml_flash_photogallery2.htm