Block body scroll over iframe

Block body scroll over iframe

Hi.

I've placed iframe on my site. Iframy includes swf object which interact with mousewheel (zoom in / zoom out). I would like to block page scrolling when mouse is over iframe.

code
  1.  
  2. $j ( '#myiframe' ). load ( function ( ) {
  3. $j ( this ). contents ( ). bind ( 'mousewheel DOMMouseScroll' , function (e ) {
  4. var delta = e. wheelDelta || -e. detail ;
  5.       this. scrollTop += ( delta < 0 ? 1 : -1 ) * 30 ;
  6.         e. preventDefault ( ) ;
  7. } ) ;
  8. } ) ;
It works ok in firefox. In rest of browsers it block also swf events (zoom in / zoom out). Is there any way to fix that?

Thanks in advance,