# \[AS2\] mouse wheel not working correctly when swf within html page

**URL:** <https://forum.kirupa.com/t/as2-mouse-wheel-not-working-correctly-when-swf-within-html-page/276830>\
**Category:** flash\
**Created:** [December 4, 2008, 4:46am UTC](https://forum.kirupa.com/t/as2-mouse-wheel-not-working-correctly-when-swf-within-html-page/276830 "2008-12-04T04:46:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shey\_py](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@shey\_py](https://forum.kirupa.com/u/shey_py)\
**Post date:** [December 4, 2008, 4:46am UTC](https://forum.kirupa.com/t/as2-mouse-wheel-not-working-correctly-when-swf-within-html-page/276830/1 "2008-12-04T04:46:21Z")

</div>

hey guys, this will probably be a quick one for you but I just have no clue…

in the SWF file itself, the mouse wheel works perfectly (using [28bit’s code for the scroll) you can see it [URL=“http://www.xavier-ama-karen.com/assets/flash/stage.swf”]here](http://www.kirupa.com/forum/showpost.php?p=1770409&postcount=50)…

but, when in the desired html, it doesn’t… [check it out](http://www.xavier-ama-karen.com/)…

any idea why? maybe screwed something up with the js or something? thanks in advance!

cheers! 🍺
