I am having problems inserting a flash ad (swf) file to my site.
It is supposed to be a banner on the top of the site.
When I try to use the WYSIWYG "insert/edit image" tool to add the file to the site it gives me an error saying invalid file type.
The only thing that seems to work is .gif or if I reference an existing url with a flash ad.
Is there some extra code I should add like "object codebase" with reference to macromedia flash website - if so what is the code to be added.
Or is there a way I can just add the flash file direct.
Thanks,
Newtothis
Problem inserting flash ad (swf) to site
hi newtothis,
you must insert the flash code in your template ordinary into the header section.
In this example the file called /picture/bg/zer_v7.swf with a dimension of 760x85px
regards Knut
you must insert the flash code in your template ordinary into the header section.
Code: Select all
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="760" height="85" id="zer_v7" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="picture/bg/zer_v7.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="picture/bg/zer_v7.swf" quality="high" bgcolor="#ffffff" width="760" height="85" name="zer_v7" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi Knut,
Thank you for replying.
I am not sure what I did wrong but I tried the code and the flash ad still does not appear.
The only things that I changed were the dimensions and the name of the flash ad itself.
When I put my cursor over the area where the ad is it says "click here to activate this control". When I click nothing happens.
Any thoughts on what I may have done wrong.
Thanks,
Newtothis
Thank you for replying.
I am not sure what I did wrong but I tried the code and the flash ad still does not appear.
The only things that I changed were the dimensions and the name of the flash ad itself.
When I put my cursor over the area where the ad is it says "click here to activate this control". When I click nothing happens.
Any thoughts on what I may have done wrong.
Thanks,
Newtothis