[Laszlo-dev] For Review: Change 20090427-hqm-Q Summary: fix for swf9 context menus, mouseEnabled no longer always set to true on every sprite
André Bargull
andre.bargull at udo.edu
Tue Apr 28 06:21:51 PDT 2009
On 4/28/2009 2:55 PM, Henry Minsky wrote:
> Oh crud, I just realized that if we turn off mouseEnabled on text fields
> by default, that hyperlinks won't work. So if we go with this approach,
> I think we need to have mouseEnabled = true on all LzTextSprite?
You mean:
mouseEnabled needs to be turned on for a LzTextSprite's textfield, but
not for a LzTextSprite itself.
> Or maybe we could be smart and only enable it if we detect that there's a
> hyperlink in the context?
We don't want to scan the text everytime to detect a hyperlink. That's
why we implemented the workaround at LPP-7551.
Maybe we could re-use the notifying event mechanism Tucker used
recently. But that means hyperlinks aren't active and aren't displayed
as clickable in swf9, until a listener for ontextlink is installed..
More information about the Laszlo-dev
mailing list