Question:

Would it have worked to instead call:

  lz.MouseKernel.__mouseUpOutsideHandler

and is that perhaps the more proper approach?

On 2010-05-29, at 05:00, André Bargull wrote:

> Change 20100529-bargull-HeY by barg...@bargull02 on 2010-05-29 10:54:19
> in /home/anba/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
> 
> Summary: Make LzMouseKernel available from browser in non-debug
> 
> Bugs Fixed: LPP-9052 (uncaught error in swf10 non-debug mode when resizing a 
> window and the mouse moves outside the browser window)
> 
> Technical Reviewer: max
> QA Reviewer: mdemmon
> 
> Details:
> LzUtilsClass#safeEval() uses globalValue() which uses 
> flash.utils.getDefinitionByName() to find global definitions. But 
> flash.utils.getDefinitionByName can only find global definitions which are 
> public, that means LzMouseKernel needs to be changed to a public class.
> 
> Tests:
> lz.embed.applications.lzapp.callMethod('LzMouseKernel.__mouseUpOutsideHandler()')
>  works for non-debug
> 
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/LzMouseKernel.as
> 
> Changeset: 
> http://svn.openlaszlo.org/openlaszlo/patches/20100529-bargull-HeY.tar
> 


Reply via email to