onmouseout event and flash movies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tjhchicago
    New Member
    • Jan 2008
    • 3

    onmouseout event and flash movies

    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
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Does the Flash movie overlap part of the image?

    Comment

    • tjhchicago
      New Member
      • Jan 2008
      • 3

      #3
      they don't overlap - in this case they're both in separate table cells

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Can you post your code please.

        Comment

        • tjhchicago
          New Member
          • Jan 2008
          • 3

          #5
          Originally posted by acoder
          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!

          Code:
          <body>
          	<table border="0" cellpadding="0" cellspacing="0">
          		<tr>
          			<td>
          <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">
          							<param name="movie" value="userFiles/test_flash.swf" />
          							<param name="quality" value="high" />
          							<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>
          					</object></td>
          		</tr>
          		<tr>
          			<td>
          				<img src="images/test_image.jpg" width="770" height="114" onmouseout="alert('out!');" />
          			</td>
          		</tr>
          	</table>
          </body>

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

            #6
            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.

            Comment

            Working...