0

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>
7
  • organization...don't like bunched up files. I could just bring the 4 files into the index but is there no way of just putting them in a file name "slide" like I did? Commented Nov 20, 2011 at 14:59
  • 2
    Live demo? Also, might be best not to use Flash nowadays – something like Swiffy (google.com/doubleclick/studio/swiffy) has an online converter to allow you to serve up non flash content where required. Commented Nov 20, 2011 at 15:16
  • yeah, live demo would do so we can debug it. Commented Nov 20, 2011 at 15:24
  • I will keep that in mind Rich. I am used to flash but not as much used to html so I am still learning in school. I've added the live demo but now it seems to look different which could tip there is a problem. Changed the file to banner to test. The link is in the description. Commented Nov 20, 2011 at 15:41
  • how about a screenshot of the folder tree in explorer (windows)? that way we could visualize the structure. Commented Nov 20, 2011 at 15:43

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

7 Comments

I have index in the root, css is in a folder called css/styles.css and the banner is in a folder called in a folder called "slide" so slide/slideshow.swf. I tried using the name but I got nothing. I'll try it again. Maybe I made a typo. I'll update the code to show it with the name.
Doesn't work. There has to be a reason why my banner is not showing? Should there be a link to something else inside my file. Maybe the xml? Doubt it but just using slide/slideshow.swf is not working.
try clearing the cache and debug with firebug (or similar tools)
well I tested it in safari, chrome and opera. so is it the cache really? wow I can't believe I have to bring this into the root and crowd my files.
since you are doing html5, try this: <embed src="banner/slideshow.swf" /> as stated in w3schools.com/html5/tag_embed.asp
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.