[Laszlo-dev] Should I be able to make a clickable <text> in swf9?

P T Withington ptw at pobox.com
Tue Apr 29 15:16:27 PDT 2008


I'm trying to sort out the bit about delegates having to take 1  
argument, running this test

> <canvas>
>   <simplelayout />
>   <text name="output" clickable="true" text="Click Me!"/>
>   <method name="handleMe">
>     output.format("Clicked!");
>   </method>
>   <handler name="onclick" reference="output" method="handleMe" />
> </canvas>

in swf9 causes:

> [Fault] exception, information=ReferenceError: Error #1069: Property  
> __mousedown not found on LzTextSprite and there is no default value.
> Fault, __mouseEvent() at LzSprite.as:277
>  277                   if (this.__mousedown) {
> (fdb)

Is this a bug, or am I doing it wrong?


More information about the Laszlo-dev mailing list