Public Voice Network
- Desktop screenshots 2727
- Leica pics.. 2525
- @ party 1010
- Banksy's Pet store 11
- Politics 21592159
- CAMERAWAR.TV New Videos 22
- The Newstoday Jingle 2323
- ikea 3434
- blog 2739427394
- OSX Dock Clutter 3131
- Medium Format 9494
- Pic of the Day 88128812
- alphabet funtime 66
- Styrofoam Boots 1616
- Flash Video Intro 33
- industrial music 2727
- Site Critique #3 88
- FOOTBALL!!! 1818
- Scrollbar widths? 11
- Lost in Translation 2828
- Engaged!! 2323
- last week in LA... 22
- old but good 55
- Tees! Tees! Tees! 1212
site scrollwheel check 1717 Responses
Last post: 6 months, 1 week ago | Thread started: Apr 4, 08, 10:32 a.m.
- stewart
http://www.kulsdom.com/mousewhee…
attempt to get the mousewheel working on a pc (and i'm on a mac so can't check it myself).
it should work now, except that the visitor has to click the swf first to get focus?
i tried to set the focus to the swf using a javascript, but no luck so far.what's the usual workaround to get this work?
- Apr 4, 08, 10:32 a.m. – Permalink
- neverblink
You can add the focus to the swf on page load:
http://kb.adobe.com/selfservice/…

- Dog-earApr 5, 08, 1:05 a.m. – Permalink
- stewart
i also tried another way to embed the swf but it still doesn't work:
pc users still have to click the swf first before they can use the scrollwheel on their mouse.what's the best way to embed the swf to get immediate focus on the swf onload??
(doesn't work on a mac, i know, and i'm not trying to get it to work on a mac).

- Dog-earApr 7, 08, 2:54 a.m. – Permalink
- neverblink
place the script after the other scripts.. it seems like you are setting the focus to the swf before actually embedding it.
so this:
<script language="javascript">
function placeFocus() {
window.document.movieid.focus();
}
</script>after the other two scripts you have in your head


- Dog-earApr 7, 08, 5:47 a.m. – Permalink
- mimeartist
doesn't pixelbreaker have it on his blog how to do it all?


- Dog-earApr 7, 08, 7:19 a.m. – Permalink
- stewart
mimeartist, yes that's true.
but the same story here: the scrollwheel only works AFTER clicking the swf to set focus.
even when i add this focus-javascript thingy.
http://www.flashdynamix.com/exam…
(well, this example works with firefox mac, not IE pc)

- Dog-earApr 7, 08, 8:23 a.m. – Permalink

