Remembering where the user has been

Hey i havnt posted for a while so i was wondering if anyone could hook me up.

Im creating a site for my band at the moment and im making it more of a cinematic experience. (form over function :P)

ive decided to pump up the frame rate and do some subliminal stuff. (wierd pictures.)

so here goes, i was wondering how i can get flash to tell what the user has been doing to trigger things (eg change mC’s or swfs etc.)

for example. if a user decides to view the news section (extenal swf), then returns to the main page. one of the band members will be holding a knife or something stupid and pointless.

i have no idea where to start on something like this so i was wondering if someone could link me to some pages or give me the basic jist of what type of scripting is required (xml?)

thanks alot.