Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java Flash Object (slideshow) not resolving outside of LAN

Posted on 2013-06-20
4
Medium Priority
?
254 Views
Last Modified: 2013-06-26
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
Comment
Question by:pcturnkey
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Expert Comment

by:TMekeel
ID: 39264623
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
 

Author Comment

by:pcturnkey
ID: 39265871
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
 

Accepted Solution

by:
pcturnkey earned 0 total points
ID: 39266509
Nevermind....I figured it out.  Viewing the page from inside, case-sensitivity didn't matter.  Resolving it through the server did.
0
 

Author Closing Comment

by:pcturnkey
ID: 39277392
Through trial and error was able to deduce what was going on.  Thanks for the help, though.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question