Hi Again
Solved this one. The script needed tweeking and there is a need to ftp an image and html text from banner manager. Here are the instructions should anyone else need them;
Thanks
Trappersam
Below is the procedure to be followed to get the code for the banner created from Banner
Designer Pro.
1. After the banner creation, publish the banner in HTML format.
2. Now upload only the SWF file to the server using the FTP tool. The SWF file should be in
the same folder in which the HTML file is located, in which we are inserting the code. For
example: The code is inserted in the home page, so the swf file can be placed in the root
folder.
3. Now open the HTML file in notepad.
The code would look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>test.swf</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0"
bottommargin="0"><OBJECT id="slideshow"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash
.cab#version=8,0,0,0" WIDTH="728" HEIGHT="90" id="test" align="middle">
<PARAM NAME=movie VALUE="test.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=allowScriptAccess VALUE=sameDomain>
<PARAM NAME=bgcolor VALUE=#000000><EMBED Name="slideshow"
src="test.swf" quality=high bg############################## WIDTH="728" HEIGHT="90"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</body></html>
4. Remove the text in red.
5. Add “<object” in the beginning and “</object>” at the end.
6. So the code should look like this
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash
.cab#version=8,0,0,0" WIDTH="728" HEIGHT="90" id="test" align="middle">
<PARAM NAME=movie VALUE="test.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=allowScriptAccess VALUE=sameDomain>
<PARAM NAME=bgcolor VALUE=#000000><EMBED Name="slideshow"
src="test.swf" quality=high bg############################## WIDTH="728" HEIGHT="90"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></obje
ct>
7. Now change the “src” value to the location of the swf file. See the highlighted text above.
For example: The swf file is saved in the root folder of { HYPERLINK "http://www.abc.com" }. The name of the swf file is test.swf.
So the src value should be src={ HYPERLINK "http://www.abc.com/test.swf" }
The rest of the code remains the same.
8. The final code would look as below :
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash
.cab#version=8,0,0,0" WIDTH="728" HEIGHT="90" id="test" align="middle">
<PARAM NAME=movie VALUE="test.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=allowScriptAccess VALUE=sameDomain>
<PARAM NAME=bgcolor VALUE=#000000><EMBED Name="slideshow"
src="http://www.abc.com/test.swf" quality=high bg############################## WIDTH="728" HEIGHT="90"
TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></obje
ct>




