Search  

DISABLE HTML MOUSE SCROLLING WHEN OVER FLASH

HomeForumsFlash DiscussionDisable HTML mouse scrolling when over Flash
43485 JoeMC
59 posts
Exclusive author Item was featured Referred at least one person Sold between 1 000 and 5 000 dollars Bought between 1 and 9 items

Does anyone know if there is a way to disable an HTML page from scrolling when a user is over a flash object in the HTML that has its own scrollbar?

Posted 2 months ago
38635 flasher3015
382 posts
Exclusive author Author was featured Referred at least one person Sold between 5 000 and 10 000 dollars Bought between 10 and 49 items

I really don’t know this for sure, but you should try focusing on your scrollbar. So when the mouse is over your flash file, move the focus on something that you have in the movie.

Posted 2 months ago
43485 JoeMC
59 posts
Exclusive author Item was featured Referred at least one person Sold between 1 000 and 5 000 dollars Bought between 1 and 9 items

I guess I should clarify more. I’m my question is regarding using the mouse wheel. I have my flash scrollbar set up to scroll on mousewheel, but when the HTML page is larger than the screen height the whole HTML page scrolls when I only want to scroll the Flash with the mousewheel.

Posted 2 months ago
38635 flasher3015
382 posts
Exclusive author Author was featured Referred at least one person Sold between 5 000 and 10 000 dollars Bought between 10 and 49 items

I think you could make a html trick here. Put the swf in a div and set it’s overflow to hidden. This way a scrollbar will not appear if the user can’t see the whole content.

Posted 2 months ago
43485 JoeMC
59 posts
Exclusive author Item was featured Referred at least one person Sold between 1 000 and 5 000 dollars Bought between 1 and 9 items

Thanks Flasher, I’ll give it a try… I’m just starting at working more with HTML and CSS and all that other jazz. The web is vast and confusing place sometimes!

Posted 2 months ago
33358 flashjunkie
2043 posts
Exclusive author Item was featured Author was featured Referred at least one person Reviewer Sold between 5 000 and 10 000 dollars Bought between 100 and 499 items

indeed it is my fried. just understanding 40% of the web can make u the best developer yet there is still so much to learn.

flasher3015’s idea seems like the best bet though.

Jay

Posted 2 months ago
38045 Ziyad
104 posts
Referred at least one person Sold between 100 and 1 000 dollars

You’re doing the best thing Joe, which is to ask.

There is a lot of knowledge browsing this forum so you should make the most of it!

You can force a HTML page to focus on the Flash file by putting this into the Frame Actions:

getURL(“javascript:me.focus( );void 0;” ) ;

Maybe that will help.

Posted 2 months ago
43926 the_asman
20 posts
Sold between 1 and 100 dollars

simple
<body onMouseWheel="return false;" >

This will disable the scrolling on the entire document.
You should instead focus on making it disable only if you are moused over the swf.

Posted 2 months ago
Default-profile bogdan
1 post

I just wrote an article fixing this problem.

Check out http://avatar-soft.ro/blog/?p=4

Posted 2 months ago
58251 djankey
304 posts
Item was featured Author was featured Referred at least one person Sold between 10 000 and 50 000 dollars Bought between 50 and 99 items
I just wrote an article fixing this problem. Check out http://avatar-soft.ro/blog/?p=4
wow, it’s working Thank you!

PS. add your credits in .js

Posted 2 months ago