Flash XML Photogallery

hi all, this is my first post, so go easy! :wink:

the XML/Flash MX/2004 tutorial is great, but how would this be used on a site that had a navigation to a certain frame label that would open a new gallery for each section?

e.g.

photos

  • portraits
  • landscapes
  • skateboarding
  • bmx

rather than have 4 gallery components is there a way of just having the one and targeting that?

thanks