Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: swf path

  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    swf path

    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.

  • #2
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    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!
    "The problem with troubleshooting is that trouble shoots back."

  • #3
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've tried that too but unfotyunately does not work.

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

  • #4
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    hmm, this is weird. Do you have a link to the site?
    "The problem with troubleshooting is that trouble shoots back."

  • #5
    Regular Coder
    Join Date
    Dec 2010
    Location
    California
    Posts
    201
    Thanks
    30
    Thanked 8 Times in 8 Posts
    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!
    "The problem with troubleshooting is that trouble shoots back."

  • #6
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No problem.

    http://kbmteste.webnode.com/

    I'll try the float thing.

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It is showing just fine for me on Google Chrome. It is a little butterfly with roses.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #8
    New to the CF scene
    Join Date
    May 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #9
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    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.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •