Accessing presentation clicker?

Hi all,
I’m developing a presentation based on flash and would like to utilize a presentation clicker to advance to the next slide. The presentation is a bunch of SWF files loaded from an XML file. My question is;

is there a way to use a presentation clicker to access a snippet of code to advance to the next SWF file? If so, what do I have to use to make this work.

This may be complicated, but it would be a great help! Thanks in advance.