Solved

Flash works in IE but not Chrome

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

708 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

20 Experts available now in Live!

Get 1:1 Help Now