Tree component

I am trying to use the tree component(already populated via xml file) to load images into an empty movieclip on the stage.would anyone be kind enough to provide sample script(both xml and as) or show me a tutorial that shows how this is done.

thanks.