Nerdysyntax
Nerdysyntax

Reputation: 365

adding a swf in html5

I am trying to add a xml flash image banner to an html document. Here is a link - http://harden6615.com/project2/site/index.html - It works fine if I add the .swf and other element to the file with index.html but when I nest the banner files inside a folder and use the path, I get no banner. Can anyone tell me what I did wrong?

screenshot

<section>
       <div id="slideshow">
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="500" height="312" id="slideshow" align="middle">
    <param name="movie" value="banner/slideshow.swf" />
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="banner/slideshow.swf" width="500" height="312">
            <param name="movie" value="banner/slideshow.swf" />
        <!--<![endif]-->
            <a href="http://www.adobe.com/go/getflash">
     <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
            </a>
        <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
        </object>
        </div>
</section>

Upvotes: 0

Views: 2984

Answers (1)

Joseph
Joseph

Reputation: 119837

what is your folder structure? i suppose the index.html and the folder are siblings and the folder contains the files (the way i understood your question). then your path should not be ../slideshow.swf but foldername/slideshow.swf

Upvotes: 1

Related Questions