Solved

Flash works in IE but not Chrome

Posted on 2010-11-08
2
791 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now