[AS 2.0] unloading xml data

Okay guys,
I am making my portfolio website and I am loading the images, description, etc. from a xml file. This all works fine. but when i go back to another section of my site (i.e. contact or about) the xml data stays. Is there a way to unload the data when going to a different frame?
Hope that is somewhat clear.

Thanks