Flash object makes my javascript not work in IE

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
<body>
    <form id="form1" runat="server">
    <div>
    
        <!-- 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" />
	    </object>
	    
        <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">
            <Columns>
           <cc1:Column HeaderText="Tester" DataField="BuildNumber">
                <TemplateSettings TemplateId="tmptest"/>
            </cc1:Column>
            </Columns>
                <Templates>
                <cc1:GridTemplate runat="server" ID="tmptest">
                    <Template>   
                        <!-- 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');" />
                    </Template>
                </cc1:GridTemplate>
            </Templates>            
        </cc1:Grid>  
        
        <asp:SqlDataSource ID="dsBuildInfo" runat="server" ConnectionString="<%$ ConnectionStrings:SHConnectionString %>" SelectCommand="SELECT [BuildNumber] as 'Internal Build #:' FROM [BuildInfo]"></asp:SqlDataSource>    
    </div>
    </form>
</body>

Open in new window

JT_SIROAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

IqAndreasCommented:
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
http://code.google.com/p/swfobject/
http://www.gotoandlearn.com/play?id=77
0
JT_SIROAuthor Commented:
Obout support gave me the solution.  I had to replace the onclick event with onmousedown.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.