swf9 produces an error,

[java] [(unknown): 8] line unknown: Error: A conflict exists with inherited definition LzCursorInterface.showHandCursor in namespace public.

because showHandCursor is defined as a method in the base class.

class LzCursorInterface {
  function showHandCursor(show:boolean) {};
  ...
}

class LzCursorService extends LzCursorInterface {
  var showHandCursor = LzMouseKernel.showHandCursor;
 ...
}


This should work in swf9, as long as mousekernel is an instance. Or am I missing something?

On Apr 14, 2008, at 14:40, Philip Romanik <<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]>
wrote:

> I'm using LzCursor as a model for LzBrowser, and I don't see how this
> code will ever work in swf9? LzCursorInterface defines the interface
> and LzCursorService defines the singleton and redirects the call to
> the kernel. Lines like this,
>
>  var showHandCursor = LzMouseKernel.showHandCursor;
>
> avoid a step of indirection, but it will not work in swf9. Is this
> solution only designed for swf/dhtml and a more traditional solution
> intended for swf9?
>
> Thanks!
>
> Phil
>

Reply via email to