By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,551 Members | 2,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,551 IT Pros & Developers. It's quick & easy.

onmouseout event and flash movies

P: 3
if an image which uses the onmouseout event is adjacent to a flash movie and the mouse goes directly from the image to an embedded flash movie the event will not fire

moving the mouse out of the movie will cause the event to fire

i notice this in firefox and safari (windows) but not in IE7

has anyone else seen this? i've searched for this problem and haven't had luck - can anyone point me in the right direction?

thanks
Jan 21 '08 #1
Share this Question
Share on Google+
5 Replies


acoder
Expert Mod 15k+
P: 16,027
Does the Flash movie overlap part of the image?
Jan 22 '08 #2

P: 3
they don't overlap - in this case they're both in separate table cells
Jan 22 '08 #3

acoder
Expert Mod 15k+
P: 16,027
Can you post your code please.
Jan 22 '08 #4

P: 3
Can you post your code please.
below is a simple example that reproduces the behavior - when moving the mouse out of the image to the left, bottom or right and the alert box appears - move the mouse out of the image to the top, into the flash animation, and it doesn't until you move out of there

thanks for the help!

Expand|Select|Wrap|Line Numbers
  1. <body>
  2.     <table border="0" cellpadding="0" cellspacing="0">
  3.         <tr>
  4.             <td>
  5. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="770" height="114">
  6.                             <param name="movie" value="userFiles/test_flash.swf" />
  7.                             <param name="quality" value="high" />
  8.                             <embed src="userFiles/test_flash.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="770" height="114"></embed>
  9.                     </object></td>
  10.         </tr>
  11.         <tr>
  12.             <td>
  13.                 <img src="images/test_image.jpg" width="770" height="114" onmouseout="alert('out!');" />
  14.             </td>
  15.         </tr>
  16.     </table>
  17. </body>
Jan 22 '08 #5

acoder
Expert Mod 15k+
P: 16,027
The only thing I can think of at the moment is to add some spacing, e.g. cellpadding or cellspacing. That may not be ideal depending on your requirements.
Jan 23 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.