Demo Link:

http://www.thetechlabs.com/tutorials/xml/build-a-dynamic-accordion-menu-in-flash-cs4-with-actionscript-30-and-xml/

How to create it using flash cs4?

The above link supports xml...