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

Max Carlson max at openlaszlo.org
Tue Apr 29 16:34:35 PDT 2008


This sounds like a bug in the swf 9 kernel.

P T Withington wrote:
> 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?

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list