[Laszlo-dev] For Review: Change 20090107-maxcarlson-t Summary: Fix mousewheel in swf9
Max Carlson
max at openlaszlo.org
Wed Jan 7 16:40:18 PST 2009
It usually is a core/kernel service, _except_ for on Os X where Adobe
still (!) doesn't support mousewheel events natively from within Flash.
So I have to send the events in from the browser using the JS bridge
stuff, which uses globalValue() to find the correct method to call in
the LFC...
P T Withington wrote:
> Approved, but inquiring minds want to know: why does the mousewheel
> depend on globalValue? I would think it should be a core/kernel service.
>
> On 2009-01-07, at 11:32EST, Max Carlson wrote:
>
>> Change 20090107-maxcarlson-t by maxcarlson at Bank.lan on 2009-01-07
>> 08:27:05 PST
>> in /Users/maxcarlson/openlaszlo/trunk-clean
>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>
>> Summary: Fix mousewheel in swf9
>>
>> Bugs Fixed: LPP-7575 - swf9: mousewheel not working in OS X
>>
>> Technical Reviewer: ptw
>> QA Reviewer: hminsky
>>
>> Details: LzUtils.lzs - Add null arg to __unpackList() so it works with
>> swf9. Use globalValue() to look up classes instead of __findClass().
>>
>> PresentationTypes.lzs - Use globalValue() to look up classes instead
>> of lz.Utils.__findClass() in GenericPresentationType.
>>
>> LzRuntime.lzs - Add special case for 'lz' to ensure it's found - fixes
>> the mouse wheel.
>>
>> Tests: test/lfc/legals/keyboardandmouse.lzx runs in swf9 and in other
>> runtimes. Testcase from LPP-2610 runs consistenty across runtimes.
>>
>> Files:
>> M WEB-INF/lps/lfc/services/LzUtils.lzs
>> M WEB-INF/lps/lfc/core/PresentationTypes.lzs
>> M WEB-INF/lps/lfc/compiler/LzRuntime.lzs
>>
>> Changeset:
>> http://svn.openlaszlo.org/openlaszlo/patches/20090107-maxcarlson-t.tar
>
--
Regards,
Max Carlson
OpenLaszlo.org
More information about the Laszlo-dev
mailing list