You'll need to wrap it up in javascript, something like this if you're rotating flash banners:
Code:
<script type="text/javascript" src="/externals/swfobject.js"></script><script type="text/javascript">var so = new SWFObject("http://yourdomain.com/phpadsnew/adimage.php?filename=f55.swf&amp;contenttype=swf&amp;clickTAG=http://yourdomain.com/phpadsnew/adclick.php%3Fbannerid=90%26zoneid=8%26source=%26dest=http%3A%2F%2Fwww.yourdomain.com%2Findex.php", "flash", "230", "172", "7", "#ffffff");so.addVariable("redirectURL", "http://yourdomain.com/phpadsnew/adclick.php?bannerid=90&zoneid=8&source=&dest=http://www.yourdomain.com/index.php");if (so.installedVer.major >= 8) {so.write("flash");} else {document.write('<a href="http://yourdomain.com/phpadsnew/adclick.php?bannerid=90&zoneid=8&source=&dest=http://www.yourdomain.com/index.php"><img src="/phpadsnew/alt_content/f55.jpg" alt="Please update your flash player" /></a>')}</script>