View Full Version : swf path

05-25-2012, 11:37 PM
Hi, i'm new to html/css and I am developing a website throug webnode.

I also have a swf file that I need to show in the header, however, it isn't showing and i'm pretty sure it has to do with the path that I'm setting.

The swf setting is in the same directory wich contains my index and the css, js, img folders.

Here's the code:

<!-- HEADER -->
<div id="header">
<div id="container" style="float: right">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" height="180" width="500">
<param name="movie" value="produzarte.swf" />
<param name="wmode" value="transparent" />
<embed height="180" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="produzarte.swf" type="application/x-shockwave-flash" width="500" wmode="transparent">
</div><!-- /header -->
<!-- /HEADER -->

#header {
width: 960px;
height: 183px;
padding: 0;
margin: 0;
display: block;
background: url(../img/header.png) bottom right no-repeat;
overflow: hidden;

width: 500px;
height: 180px;
position: relative;

Ive tried "../produzarte.swf", "/produzarte" but nothing.

Thanks in advance.

05-26-2012, 12:49 AM
try adding the entire URL to the source like so


Also, you do realize you would need to change this in two different parts of the object, the param and embed!

05-26-2012, 01:01 AM
I've tried that too but unfotyunately does not work.

Yes I do realize I have to change param and embed.

05-26-2012, 01:04 AM
hmm, this is weird. Do you have a link to the site?

05-26-2012, 01:06 AM
I've experienced problems in the past setting a float and a position of relative, try removing the style="float: right" from your container div, see what happens! If it does nothing, then add it back! Sorry, I have no means of testing anything right now!

05-26-2012, 01:14 AM
No problem.


I'll try the float thing.

05-26-2012, 04:14 AM
It is showing just fine for me on Google Chrome. It is a little butterfly with roses.

05-26-2012, 04:36 AM
I've managed by uploading the swf through webnode, adding it to an article just to see the link.

It was http://files.kbmteste.webnode.com/"BunchofNumbersandLetters"/produzarte.swf

It takes a lot of work if I want to edit change my swf though.

There should be a easier way of referring to it.

05-26-2012, 04:48 AM
It would probably be simple on a real host but with webnode they probably don't let you upload files to just any where you like hence why you had to do what you did.