I found a great article I thought I'd share:
http://avatar-soft.ro/blog/?p=4
It's how to prevent your browser from scrolling when you are scrolling with flash content.
I fixed a minor bug and made it as a js file, so to use it, just download the js file (remove the .txt) and add this to your html code.
<script type="text/javascript" src="hookMouseWheel.js"></script>
Easy enough?
| Attachment | Size |
|---|---|
| hookMouseWheel.js.txt | 1.01 KB |
thanks that helped me out big time.. searched for this quite long
simple but great solution
One alternative, depending on context, would be swfforcesize.
http://blog.pixelbreaker.com/flash/swfforcesize/
I've used that for my projects. An ExternalInterface call to the js function setForceSizes on the swf resize.
Nice captcha by the way :P
Post new comment