[Laszlo-dev] lz.Cursor APIs in openLaszlo 4.4 do not seem to work. Is this fixed in later versions?

Henry Minsky hminsky at laszlosystems.com
Tue Oct 27 06:34:42 PDT 2009


I checked in a fix for swf10 cursors, it will be in tomorrow nightly build
if you want to test.

Release notes:


A pair of attributes has been added to the <resource> tag, 'offsetx' and
'offsety'.

The purpose is to allow you to specify an offset of a bitmap resource used
for a custom cursor,
so that the mouse will aligh with the proper 'hotspot' in the cursor image.

Example: set a custom crosshair cursor from a bitmap resource, with an
offset of (-8,-8)

<resource name="crosshair" src="cursor_crosshair.png" offsetx="-8"
offsety="-8" />
<view height="40" bgcolor="#cccccc" width="100" cursor="crosshair" />


The cursor offset feature currently only works in the swf10 runtime, but
will eventually work
in DHTML and SWF8.


On Tue, Oct 20, 2009 at 7:04 PM, Bret Simister
<bsimister at laszlosystems.com>wrote:

> Hi Henry,
>
> Flash 9 or 10 does not work for me in OL 4.4 ( try the test case that comes
> with openlaszlo cursors.lzx ). Only Flash 8 works. I had Antun try it in the
> latest release and it is broken there as well.
>
> Thanks,
>  Bret
>
> On Oct 20, 2009, at 3:30 PM, Henry Minsky wrote:
>
>
> Are you using DHTML or SWF8?
>
> There is a known bug in swf10 with the APIs, I am working on now.
>
>
> On Tue, Oct 20, 2009 at 6:08 PM, Bret Simister <
> bsimister at laszlosystems.com> wrote:
>
>> *
>> *
>>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091027/6a27ee36/attachment.html


More information about the Laszlo-dev mailing list