OOps, forgot to include one file, needed to redefine that class as static so it is accessible.
I just sent an updateed version, try again! On Wed, Jun 2, 2010 at 7:23 AM, P T Withington <[email protected]>wrote: > I'm getting an error when I try to compile to test: > > compile: > [javac] Compiling 569 source files to > /Users/ptw/OpenLaszlo/trunk/WEB-INF/lps/server/build > [javac] > /Users/ptw/OpenLaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java:490: > an enclosing instance that contains > org.openlaszlo.compiler.ResourceCompiler.Offset2D is required > [javac] Offset2D offset = new Offset2D("-4", "0"); > [javac] ^ > [javac] 1 error > > ? > > On 2010-06-02, at 07:11, Henry Minsky wrote: > > > updated with max's comments > > > > > > 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: > > > > SWF9Writer adds the handcursor resource automatically to swf9 compiles. > Uses a -4px x offset on > > the resource to make the finger hotspot line up with mouse. > > > > Tests: > > > > Test case below, run with lzr=swf9, mouse cursor should change to button > hand when mouseover > > text view. > > > > > > <canvas> > > <text onclick="Debug.warn('click')">Clickable text should show a hand > cursor</text> > > </canvas> > > > > > > Files: > > M WEB-INF/lps/server/src/org/openlaszlo/compiler/SWF9Writer.java > > M WEB-INF/lps/lfc/kernel/swf9/LzTextSprite.as > > A lps/components/lz/resources/handcursor.png > > > > > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20100601-hqm-6.tar > > -- Henry Minsky Software Architect [email protected]
