• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 806
  • Last Modified:

Flash works in IE but not Chrome

Ok I am working on a website, however my code for the flash in the header use to work in chrome, but I changed the color from FFFFFF to 00FF00 (white to lime color)

(I know my code probably is crap but, anyone see why it won't work?)

<div class="art-logo">

<img src="/images/store_logo.png"width="192" height="106" />
</div>
<br />
<script type="text/javascript" src="swfobject.js"></script>
<div id="art-flash-area">
<div id="art-flash-container">
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="200" id="art-flash-object">
    <param name="movie" value="images/flash.swf" />
    <param name="quality" value="high" />
    <param name="scale" value="exactfit" />
    <param name="wmode" value="transparent" />
    <param name="flashvars" value="color1=0x00FF00&amp;alpha1=.50&amp;framerate1=24" />
    <param name="swfliveconnect" value="true" />
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="<images/flash.swf" width="600" height="200">
      <param name="quality" value="high" />
      <param name="scale" value="exactfit" />
      <param name="wmode" value="transparent" />
      <param name="flashvars" value="color1=0x00FF00&amp;alpha1=.50&amp;framerate1=24" />
      <param name="swfliveconnect" value="true" />
      <!--<![endif]-->
      <div class="art-flash-alt"><a href="https://www.adobe.com/go/getflashplayer"><img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>
</div>
</div>
<script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "expressInstall.swf");</script>
0
nasteal
Asked:
nasteal
1 Solution
 
gingermolemanCommented:
Hi,

Your data path in the chrome only object is wrong.
You have:

data="<images/flash.swf" width="600" height="200">

should be

data="images/flash.swf" width="600" height="200">

Gmm

0
 
nastealAuthor Commented:
Thanks, I knew a second set of eyes would help.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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