Load iFrame in PHP

Does anyone know how to load an iFrame in a target on the page from a flash button? I have a flash button that is in a PHP page…

trying to do something like
on(release) {
getURL (“event.php” , “target=mainFrame”);

want to just use one page and load a bunch of different pages into the iFrame