[Laszlo-reviews] For Review: Change 20100601-hqm-6 Summary: fix for clickable text handcursor in swf9

Max Carlson max at laszlosystems.com
Tue Jun 1 16:31:37 PDT 2010


Can you add a quirk for this behavior and set to true for swf9?  Is 
there a way to always include this resource for swf9 compiles?  It seems 
painful to have to remember to manually add the resource include...  Now 
that it's included in the LFC I don't think that's optional...

Otherwise approved!

On 6/1/10 2:27 PM, Henry Minsky wrote:
> Change 20100601-hqm-6 by hqm at badtzmaru.home on 2010-06-01 17:23:21 EDT
>      in /Users/hqm/openlaszlo/trunk2
>      for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary:  fix for clickable text handcursor in swf9
>
> New Features:
>
> Bugs Fixed: LPP-8710
>
> Technical Reviewer: max
> QA Reviewer: ptw
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Overview:
>
> Add an explicit hand cursor resource for swf9, to allow cursor to be changed
> to handcursor when mouse over clickable text
>
> Details:
>
> This is a workaround.
>
> User must include the file below in their app to make mouseover clickable text  change to hand cursor in swf9.
>   <include href="lz/swf9handcursor.lzx"/>
>
> Tests:
>
> Test case below, run with lzr=swf9, mouse cursor should change to button hand when mouseover
> text view.
>
>
> <canvas>
>    <include href="lz/swf9handcursor.lzx"/>
>    <text onclick="Debug.warn('click')">Clickable text should show a hand cursor</text>
> </canvas>
>
>
> Files:
> M       WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as
> A       lps/components/lz/swf9handcursor.lzx
> A       lps/components/lz/resources/handcursor.png
>
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20100601-hqm-6.tar

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-reviews mailing list