My SWF file wont play on IE or Chrome

9 posts / 0 new
Last post
tylerklein
My SWF file wont play on IE or Chrome

Title explains it all. My SWF file wont play on Internet Explorer or Google Chrome but its play perfectly on FireFox on the pc and it works fine on linux. Now if i could work around, i would but i cant because it holds the navigation in the flash. I tried saving in different formats and i failed miserably. So could somebody please help. I would greatly appreciate it. My website address is superweeklodging.com and here is the code for the home page & if you need anything else just let me know.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Home Page</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="layout">
<div id="header">
<object type="application/x-shockwave-flash" data="images/36.swf" width="1000" height="512">
<param name="movie" value="images/36.swf" />
<embed src="../flash/Heading Flash1.swf" width="1000" height="512"></embed>
        </object>
  </div>
<div id="bodycontainer">
<div id="leftcontainer">
<div class="leftrows">
<h1>Welcome to Super Week Lodging</h1>
  <div>
  <img src="images/welcome.jpg" alt="" class="welcomeimg" />
    <h2>Luxury Homes Are Available In All Event  Locations</h2>
  All homes listed on our website are offered to  the public at discounted rates directly by the owner. Home Owners are willing  to offer the same services offered at any ordinary hotel or resort. Super Week Lodging offers the most exclusive lodging and accommodations to the higher  class of sports fans, and all short term corporate housing to Corporate  America. Home Owners are willing to lease their homes out to priority sports  fans looking to vacation for the main event so all renters can expect 5 star  treatment and first class lodging while on vacation. We offer prime location  within minutes to the main event, so don't worry about being late for the big  events! Location is key for creating the perfect atmosphere. Homes are also available for rent for private vacations and special occasions.
          <div class="clear"></div>
</div>
</div>
<div class="redrow">
  <h3>Rent A Home - Benefits</h3>
  <div>
  <ul type="disc">
    <li>Homes Have Safe &amp; Secure       Locations</li>
    <li>Home Owners Offer Complete       Privacy </li>
    <li>Homes are Offered at Discounted       Rates</li>
    <li>Exclusive Locations within       Miles of Event</li>
    <li>Immediate Availability</li>
    <li>Pet Friendly</li></ul></div>
</div>
<div class="leftrows">
<h1>About us</h1>
<div>
  <p><img src="images/aboutus.jpg" alt="" class="aboutus" />   Super Week Lodging LLC mission is to create the safest and most user-friendly website  allowing property owners the ability to create extra income by renting their  properties near&nbsp;large scale main events.       Our  experience with over 30 years of combined professional experience in...</p>
<div class="readmore"><a  href="About Us.html"><img src="images/readmore.jpg" alt="" border="0" /></a></div>
<div class="clear"></div>
  </div>
</div>
</div>
<div id="rightcontainer">
<div>
<h1>Service's Available </h1>
<div>
  <div class="servicelink">
<ul>
<li><a href="#">Maid Service</a></li>
<li><a href="#">Limo Service</a></li>
<li><a href="#">Catering Service</a></li>
<li><a href="#">Staging Service</a></li>
<li><a href="#"> Airport Pickup/Drop Off</a></li>
<li><a href="#">Personal Chef</a></li>
<li><a href="#">Pet Care Service</a></li>
<li><a href="#">Tour Guide </a></li>
<li><a href="#">Entertainment Service</a></li>
</ul>
</div>
<div class="serviceimg">
<div class="serviceimg">
<img src="images/serviceimg.jpg" alt="" />
</div>
</div>
<div class="clear"></div>
</div>
<div> </div>
<div class="readmore"></div>
</div>
<div id="testimonial">
  <h1>Homes Have </h1>
  <div class="servicelink"><a href="#">Cable Or Satellite T.V.</a><a href="#">Full Kitchen</a><a href="#">Internet Access</a><a href="#">Telephone</a><a href="#">Laundry Area</a><a href="#">Fully Stock Bathroom</a><a href="#">Big Screen T.V.</a></div>
  <p>&nbsp;</p>
            </div>
</div>
<div class="clear"></div>
</div>
</div>
<div id="footercontainer">
<div id="footer">
  <div id="footerright">
  &copy; Super Week Lodging LLC. All Rights Reserved
  </div>
</div>
<div class="clear"></div>
</div>
</body>
</html>

   

   

hubby
Re: My SWF file wont play on IE or Chrome

Hmm..
Plays fine in my Firefox (for Mac), but not in my Chrome or Safari.

I AM able to view the Flash animation itself in Chrome by loading the "http://superweeklodging.com/flash/Heading%20Flash1.swf" URL - so, it's not that the SWF does not 'work' in Chrome, it's more like it's not finding it.

I also see in your source a reference to "images/36.swf" as a parameter value - not sure what this is or what it's for, but, it does not exist and my Safari throws an error.

I'm not sure what is going on, but just for fun, try renaming "Heading Flash1.swf" to "headingflash1.swf" (remove the space) and update the reference to the filename and see if that helps.

tylerklein
Re: My SWF file wont play on IE or Chrome
Ok i changed the flash file to headingflash1.swf and and changed all my pages that had spaces to no space (example changed About Us.html to aboutus.html) but its still a no go. Any other ideas you have will help out tremendously.
hubby
Re: My SWF file wont play on IE or Chrome

I'm just grasping at straws, but look at this section:

You have: data="images/headingflash1.swf
and then: src="headingflash1.swf"

not sure, but you may need to put the full-path in your SRC

tylerklein
Re: My SWF file wont play on IE or Chrome
ummm...ok. This is going to be a stupid question but do you know how to do that? In dreamweaver i have all of my headingflash1.swf, headingflash1.fla, headingflash1.html in the same site with my other html pages.
hubby
Re: My SWF file wont play on IE or Chrome

Never used Dreamweaver, but i would guess it's somewhere in the property settings for that object.

tylerklein
Re: My SWF file wont play on IE or Chrome

ok thanks i think i fixed it to work on IE but now its not align correctly and i have it lined up to middle then absolute middle but its still all the way to the left on IE. Any ideas on how to fix that?
now how i figured out how to fix my site was i went to headingflash1.html and open the code and copy & paste the object it had that way instead of the previous way

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="999" height="512" id="headingflash1" align="middle">
<param name="movie" value="headingflash1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="headingflash1.swf" width="999" height="512">
<param name="movie" value="headingflash1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="wmode" value="window" />
<param name="scale" value="showall" />
<param name="menu" value="true" />
<param name="devicefont" value="false" />
<param name="salign" value="" />
<param name="allowScriptAccess" value="sameDomain" />
<!--<![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>

tylerklein
Re: My SWF file wont play on IE or Chrome
Thank you for your help i would have never figured it out without your help
Anonymous Visitor
Re: My SWF file wont play on IE or Chrome
I am having problems with SWF files on Firefox!

Add new comment