[Laszlo-checkins] r8237 - openlaszlo/trunk/lps/includes/source

max@openlaszlo.org max at openlaszlo.org
Wed Mar 12 13:47:51 PDT 2008


Author: max
Date: 2008-03-12 13:47:45 -0700 (Wed, 12 Mar 2008)
New Revision: 8237

Modified:
   openlaszlo/trunk/lps/includes/source/embednew.js
Log:
Change 20080312-maxcarlson-i by maxcarlson at Roboto on 2008-03-12 12:34:14 PDT
    in /Users/maxcarlson/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: UPDATED Fix swf mousewheel support on windows opera and firefox when wmode is transparent or opaque

New Features:

Bugs Fixed: LPP-5393 - SWF doesn't get mousewheel events in Firefox when wmode is transparent

Technical Reviewer: promanik
QA Reviewer: lhenrywilkins at laszlosystems.com
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Opera on OS X doesn't support the mousewheel in SWF. This change adds mousewheel events to Windows firefox and opera when wmode is transparent.


Tests: See LPP-5393 testcase, try both wmode 'opaque' and wmode 'transparent'



Modified: openlaszlo/trunk/lps/includes/source/embednew.js
===================================================================
--- openlaszlo/trunk/lps/includes/source/embednew.js	2008-03-12 20:14:29 UTC (rev 8236)
+++ openlaszlo/trunk/lps/includes/source/embednew.js	2008-03-12 20:47:45 UTC (rev 8237)
@@ -135,7 +135,7 @@
         Lz.__BrowserDetect.init();
         if (Lz.__BrowserDetect.OS == 'Mac' || 
             // fix for LPP-5393
-            ( swfargs.wmode == 'transparent' && Lz.__BrowserDetect.OS == 'Windows' && (Lz.__BrowserDetect.isOpera || Lz.__BrowserDetect.isFirefox))) {
+            ((swfargs.wmode == 'transparent' || swfargs.wmode == 'opaque') && Lz.__BrowserDetect.OS == 'Windows' && (Lz.__BrowserDetect.isOpera || Lz.__BrowserDetect.isFirefox))) {
             LzMousewheelKernel.setCallback(app, '_sendMouseWheel');
         }
     }



More information about the Laszlo-checkins mailing list