sharedObject for xml

Hello,
I have very less used to with SharedObject. and i need help!
i have 2 xml files with photos for intro. what i need to do is everytime we open swf it should play different xml files depending upon the last saved sharedobject.

eg: if last time i had played home.xml, when i reopen my swf it should play about.xml

Can any body help me with code??