title: Actionscript and JS - DOM events
body: <p>I wondered if anyone can provide any information on how flash events relate to the DOM event model.</p>
  
  <p>My issue is this:</p>
  
  <p>body > div > object</p>
  
  <p>The div has a mousedown event which calls 'preventDefault' on the event object.</p>
  
  <p>This shouldn't bear any relation to a click event within the objects swf however in IE9 it prevents the swfs mousedown event from firing...</p>
  
  <p>I'm struggling to understand how swf events fit in with DOM (presumably they continue to bubble up from the object element?) and why a click event on a div would affect a childs swf click.</p>
  
  <p>Can anyone help explain?</p>
  
  <p>Rich</p>