Change dda-20110905-Dbv by [email protected] on 2011-09-05 06:42:59 EDT
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-d/WEB-INF/lps/lfc/kernel/swf9
    for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf9

Summary: For SWF10, follow links within <text> even when not selectable.

New Features:

Bugs Fixed: LPP-10047 (Text Anchor Link issue in OL5/SWF10)

Technical Reviewer: promanik (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:
    LPP-10047: In AS3, setting textfield.selectable to false
    has the side effect of not following <a/> links.  For a <text>
    not marked selectable, overcoming this -- that is,
    keeping selection disabled, while still following links,
    is a little tricky.

Details:
    - keep mouseEnabled and mouseChildren on (this allows CLICK
      event to be processed.
    - unconditionally set up a handler for CLICK
    - when click occurs, determine if we are over a link,
      if so, handle it ourselves

Tests:
    Test case from JIRA, with both selectable set to true and false.
    smokecheck SWF10/DHTML.

Files:
M       WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/dda-20110905-Dbv.tar



--

Don Anderson
Java/C/C++, Berkeley DB, systems consultant

voice: 617-306-2057
email: [email protected]
www: http://www.ddanderson.com
blog: http://libdb.wordpress.com





Reply via email to