[Laszlo-dev] [JIRA] Updated: (LPP-7551) several text-link issues

Henry Minsky hminsky at laszlosystems.com
Wed Mar 18 13:11:55 PDT 2009


There were a lot of changes to the mouse and text  kernel  that went
along with this change, I'm not sure if we want to bring all that to
the 4.2 branch.



On Wed, Mar 18, 2009 at 12:21 PM, Amy Muntz (JIRA)
<jira at laszlosystems.com> wrote:
>
>     [ http://www.openlaszlo.org/jira/browse/LPP-7551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Amy Muntz updated LPP-7551:
> ---------------------------
>
>    Fix Version/s: 4.2.0.3
>
> Please make sure this is also merged to the 4.2 branch as well. Also, the preference is that the attribute be enabled by default to match the swf8 behavior.
>
>> several text-link issues
>> ------------------------
>>
>>                 Key: LPP-7551
>>                 URL: http://www.openlaszlo.org/jira/browse/LPP-7551
>>             Project: OpenLaszlo
>>          Issue Type: Bug
>>          Components: LFC - Text
>>    Affects Versions: MisterDonut (4.2 Final)
>>            Reporter: André Bargull
>>            Assignee: Henry Minsky
>>            Priority: P0
>>             Fix For: 4.2.0.3, 4.2.1
>>
>>         Attachments: lpp-7551.lzx, LPP-7551.tar
>>
>>
>> 1) text-links don't work in swf9/swf10 without calling kernel methods ("enableClickableLinks") and updating the textfield's mouseEnabled property
>> 2) the documentation for LzText#makeTextLink is not complete, only the first line is shown (see "http://openlaszlo.org/lps4.2/docs/reference/lz.text.html#LzText.prototype.makeTextLink" and compare with sources)
>> 3) swf8-10 change the cursor to a handpointer as soon as the mouse is over a link. This doesn't happen in dhtml.
>> testcase:
>> ---
>> <canvas debug="true">
>>   <text multiline="true" width="150" >
>>     <handler name="oninit" >
>>       if ($as3) {
>>         this.sprite.textfield.mouseEnabled = true;
>>         this.sprite.enableClickableLinks(true);
>>       }
>>       this.format("click %s or %s", this.makeTextLink("here", "opt1"), this.makeTextLink("here", "opt2"));
>>     </handler>
>>     <handler name="ontextlink" args="val" >
>>       this.addFormat("\noption %d was clicked", val == "opt1" ? 1 : 2);
>>     </handler>
>>   </text>
>> </canvas>
>> ---
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: http://www.openlaszlo.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>



-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list