Daniel Freeman wrote:
I can't get mouse wheel events to work.

stage.addEventListener(MouseEvent.MOUSE_WHEEL,mousewheel);
trace('mousewheel event set');

function mousewheel(ev:MouseEvent):void {
                trace('localX='+ev.localX+' localY='+ev.localY');
                trace('stageX='+ev.stageX+'
stageY='+ev.stageY);
        }

When I run this simple test, and move two fingers over
my trackpad (Apple mousewheel) - nothing happens. Why?


Send instant messages to your online friends http://au.messenger.yahoo.com _______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Hey Daniel,

The Flash Player on a Mac does not detect mouse wheel events. Should work on a PC fine.

I did manage to find a solution though: http://blog.pixelbreaker.com/2006/11/08/flash/swfmacmousewheel/



Cheers,
Nick Johnston
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to