Hmm good question, i think it only adds it once, but I'll check On Mon, Apr 25, 2011 at 5:38 PM, P T Withington <[email protected]>wrote:
> Question: Is the swf runtime smart enough to only add the > mouseMovedFrameHandler once? Or should you only add the handler if the > __mouseMoved flag is false? > > On 2011-04-25, at 17:13, Henry Minsky wrote: > > > Change hqm-20110425-wyc by [email protected] on 2011-04-25 12:19:05 > EDT > > in /Users/hqm/openlaszlo/trunkd2 > > for http://svn.openlaszlo.org/openlaszlo/trunk > > > > Summary: send just one mouse move event per idle frame > > > > New Features: > > > > Bugs Fixed: LPP-9916 > > > > Technical Reviewer: ptw > > QA Reviewer: (pending) > > Doc Reviewer: (pending) > > > > Documentation: > > > > Release Notes: > > > > Overview: > > > > > > Details: > > > > When flash reports a mouse move event , set a flag and listener for the > enter-frame event, rather than sending it on to the LFC. > > > > The enter-frame handler guarantees to send at most one mouse move event > to lfc per frame. > > > > > > > > Tests: > > > > > > Files: > > > > M WEB-INF/lps/lfc/kernel/swf9/LzMouseKernel.as > > > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110425-wyc.tar > > > -- Henry Minsky Software Architect [email protected]
