Yeah I wanted to have the resource built into the LFC but ran into some
stupid problems doing that and did not have time to make it work.

I just realized I can probably make a  call to importResource() directly
into the app when compiling for swf9, that would make it invisible to the
user.  I'll give that a quick try.


On Tue, Jun 1, 2010 at 7:34 PM, Max Carlson <[email protected]> wrote:

> Since this change is high-priority, maybe you should check what you have in
> to enable the fix.  If you do, please file a bug to track the improvements
> for the next release
>
>
> On 6/1/10 2:27 PM, Henry Minsky wrote:
>
>> Change 20100601-hqm-6 by [email protected] 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
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to