Solved

Flash works in IE but not Chrome

Posted on 2010-11-08
2
792 Views
Last Modified: 2012-05-10
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
Comment
Question by:nasteal
2 Comments
 
LVL 5

Accepted Solution

by:
gingermoleman earned 500 total points
ID: 34089829
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
 

Author Comment

by:nasteal
ID: 34089954
Thanks, I knew a second set of eyes would help.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Find out what you should include to make the best professional email signature for your organization.
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

786 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