Flash object makes my javascript not work in IE

JT_SIRO used Ask the Experts™
I have an aspx page with an Obout Grid that I use to display some records, and call a javascript function from an image click within it one of the columns.  This was working fine until I added a new Flash music player to my page.  Now in IE 8, the javascript in my Grid does nothing - no errors, no action.  When I remove the classid from my object tag, the javascript works again, but of course my Flash doesn't.  

I've made a really simple test page to illustrate this (below).

Please help!  Thanks, Justin
    <form id="form1" runat="server">
        <!-- Embed Flash Player -->    
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="450" height="80" id="player">
    	    <param name="movie" value="niftyplayer.swf" />
        <br /><br />
        <!-- Javascript outside of the grid works -->
        This javascript works:<img id="imgPlay1" src="images/musicsearch/play.png" alt="Play" onclick="alert('This one works.');" />
        <br /><br />

        <!-- Simple Grid -->
        <cc1:Grid ID="Grid3" runat="server" DataSourceID="dsBuildInfo" AutoGenerateColumns="false" FolderStyle="OboutStyles/grid/style_6" ShowFooter="false">
           <cc1:Column HeaderText="Tester" DataField="BuildNumber">
                <TemplateSettings TemplateId="tmptest"/>
                <cc1:GridTemplate runat="server" ID="tmptest">
                        <!-- Javascript inside of the grid does not work -->                            
                        This does not work:<img id="imgPlay2" src="images/musicsearch/play.png" alt="Play" onclick="alert('This one does Not work in IE');" />
        <asp:SqlDataSource ID="dsBuildInfo" runat="server" ConnectionString="<%$ ConnectionStrings:SHConnectionString %>" SelectCommand="SELECT [BuildNumber] as 'Internal Build #:' FROM [BuildInfo]"></asp:SqlDataSource>    

Open in new window

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Could you put this up on a server that we can see it from?

That way we can test it live instead of just looking at the code.

Otherwise you can give SWF Object a try and see if it fixes your embedding issues
Obout support gave me the solution.  I had to replace the onclick event with onmousedown.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial