[Laszlo-dev] For Review: Change 20070904-maxcarlson-m Summary: Add mouse wheel support for Flash on Mac

Max Carlson max at openlaszlo.org
Tue Sep 4 15:35:15 PDT 2007


Change 20070904-maxcarlson-m by maxcarlson at plastik on 2007-09-04  
15:14:09 PDT
     in /Users/maxcarlson/openlaszlo/legals
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Add mouse wheel support for Flash on Mac

New Features:

Bugs Fixed: LPP-4129 - Fix mouse wheel in for swf on the mac

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzKeyboardKernel.js - Factor mousewheel kernel out into  
LzMousewheelKernel.js

LzKeys.as - Refactor mouseListener code to LzKeys.__mousewheelEvent()

LzKeys.js - Use separate callback API for mousewheel

LzMousewheelKernel.js - Refactored mousewheel kernel from  
LzKeyboardKernel.js, set up for multiple callbacks.

embednew.js - in swfEmbed(), if the browser OS is Mac, register  
_sendMouseWheel() to receive events from LzMousewheelKernel for the  
current app.

embed-library.lzs - Add LzMousewheelKernel.js so it's included in  
embed-compressed.js.

Tests: See LPP-4129 for a testcase.  Testcase works under DHTML,  
flash on mac and flash on Windows.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzKeyboardKernel.js
M      WEB-INF/lps/lfc/services/platform/swf/LzKeys.as
M      WEB-INF/lps/lfc/services/platform/dhtml/LzKeys.js
A      lps/includes/source/LzMousewheelKernel.js
M      lps/includes/source/embednew.js
M      lps/includes/source/embed-library.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070904- 
maxcarlson-m.tar


More information about the Laszlo-dev mailing list