MouseWheel in Mac Safari Browser

Posted by Flashscaper on March 31st, 2008 filed in Actionscript 3, Flash CS3, papervision 3D

I was doing a quick demonstration of my recently created PV3D image gallery in a Mac and the mousescrolling didn’t work. I was taken by suprise so I went to check out the issue. I discovered that MouseWheel event indeed do not work on Safari. In order to overcome this, the best solution in my opinion, would be to use javascript and ExternalInterface in AS3. As javascript can work in Safari, I would use its function to detect MouseWheel event and send the value to Flash using ExternalInterface. Here is the link to the updated file:

PV3D Image Gallery – Matrix

Here are the source files:
Source files


5 Responses to “MouseWheel in Mac Safari Browser”

  1. Billy Says:

    This is a great example of Papervision and I’ve looked at the first version but for some reason every time I download this one I can’t open the zip.

  2. Flashscaper Says:

    Hi Billy,
    Try downloading from this link. Use the images from the prev download.

    flashscaper.com/lab/macWheel.zip

  3. mariusz Says:

    The http://www.flashscaper.com/lab/Matrix_new.zip
    Source files

    is not working.

    The Zip is corrupted

  4. Flashscaper Says:

    Hi mariusz you can try again.
    If not you can try downloading at this link.
    flashscaper.com/lab/macWheel.zip

  5. Mansour Says:

    Hi,

    I am new with Safari :’), can you please explain how it will work, because I am only seeing a .JS fils :(

    Thank you

Leave a Comment