...

View Full Version : swf path



Gordyne
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">
</embed>
</object>
</div>
</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;
}

#container{
width: 500px;
height: 180px;
position: relative;
}

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

Thanks in advance.

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

http://www.yourdomain.com/produzarte.swf

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

Gordyne
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.

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

eberdome
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!

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

http://kbmteste.webnode.com/

I'll try the float thing.

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

Gordyne
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.

_Aerospace_Eng_
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum