Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 260
  • Last Modified:

Java Flash Object (slideshow) not resolving outside of LAN

I've inherited a client's website that has a flash object slideshow that they want changed.  I have the new version of Flash Professional CS6 and have created the new slideshow (.swf).  I found the part in the page script where the old one was, replaced it, and thought it was all working well....until I tested it from a browser using the actual address (http://)- before I was just taking the "index.html" from the server and opening it, which worked perfectly.

I thought this might be an issue with a path, but can't find anything that would make sense.
I don't think the object is broken since it works fine when viewing anywhere but when pulled up from a browser that resolves the address.

Any ideas?

Here's where it's at in the page:

<body>
      <div class="main">
            <div class="header">
                  <img src="Images/Page/tag.gif" align="right" class="tag" /><img src="Images/Page/brand.gif" class="brand" />            
            </div>
            <div class="box">
                        <ul class="nav">
                              <li><a class="hover" href="index.html">Home</a></li>
                              <li><a href="retire.html">Independent Living</a></li>
                              <li><a href="nursing.html">Assisted Living & Nursing Care</a></li>
                              <li><a href="areachurches.html">Area Churches</a></li>
                              <li><a href="give.html">Giving</a></li>
                              <li><a href="contact.html">Contact Us</a></li>
                        </ul>
                  <div id="flashFeature">
                        <img src="Images/Photos/feature.jpg" />
                  </div>
                  <script type="text/javascript" src="http://www.thevillageinc.com/js/swfobject.js"></script>
                  <script type="text/javascript">
                        var so = new SWFObject("flash/homeflash.swf", "", "640", "240", "8");
                        so.addParam("quality", "high");
                        so.addParam("wmode", "transparent");
                        so.addParam("scale", "noorder");
                        so.write("flashFeature");
                  </script>
                  <a href="retire.html"><img src="Images/Nav/retireLiving_new.jpg" border="0" class="retire"  /></a><br />
                  <a href="nursing.html"><img src="Images/Nav/nursingCare_new.jpg" border="0" class="nurse" /></a>
            </div>
0
pcturnkey
Asked:
pcturnkey
  • 3
1 Solution
 
TMekeelCommented:
When you say "just taking the index.html" from the server...do you mean copying locally to, say, your desktop?
Is there a flash folder in that location with homeflash.swf inside it?

Did you create the flash/homeflash.swf on the server where the website is actually hosted?
0
 
pcturnkeyAuthor Commented:
I mean just opening the file located in the root folder (//ws1/webapps/thevillageinc/index.html...on Apache server).
Inside of that root folder, there is a 'Flash' folder that contains 'homeflash.swf.'
Everything is on the server where it is actually hosted.
0
 
pcturnkeyAuthor Commented:
Nevermind....I figured it out.  Viewing the page from inside, case-sensitivity didn't matter.  Resolving it through the server did.
0
 
pcturnkeyAuthor Commented:
Through trial and error was able to deduce what was going on.  Thanks for the help, though.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now