I am building a website which contains a banner made in flash (.SWF)
This banner should continue playing after navigating to another page within this website.
It looks like i have to use cookies, but i just cannot get it to work.
Maybe sharedObjects can do the trick as well?

Can anybody help me out? Or at least give me a head start?

Underneath here i posted my header.php with the banner.swf embedded.
I include the header.php in my index.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Twisted Gifts</title>
<link rel="shortcut icon" href="/images/twisted.ico" type="image/x-icon" />
<script type="text/javascript" src="/js/swfobject.js"></script>
<script type="text/javascript">
swfobject.registerObject("twisted_banner", "9.0.0", "expressInstall.swf");

<div id="container">
<div id="menu_top">
<li><a href="index.php">home</a></li>
<li><a href="about.php">about us</a></li>
<li><a href="contact.php">contact</a></li>

<div id="banner">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="700" height="200" id="twisted_banner">
<param name="movie" value="banner.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="/images/banner.swf" width="700" height="200">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
<!--[if !IE]>-->