Skip to main content
Inspiring
May 28, 2009
Question

hand cursor lost in link element, 2 windows opened after click

  • May 28, 2009
  • 2 replies
  • 1025 views

Hello everybody,

I found this problem in Text Layout, i don't know it is true problem or my limitation.

I imported a html string

examle:

var myText:String = "<p><a href=\"javascript:window.open('http://www.fifa.com', 'popupWin', 'height=400, width=600');\">Click here</a></p>";

            txtFlow = new TextFlow();
            txtFlow = TextFilter.importToFlow(myText, TextFilter.HTML_FORMAT);
            txtFlow.flowComposer.addController(new ContainerController (this, 400, 400) );
            txtFlow.flowComposer.updateAllControllers();

What i found:

  1. when the mouse is over the link, there is no cursor. If the link is not a javascript (a direct link instead) then there is cursor.

2. When i click on the link, a new page is opened, also, a popup window opened. So there are two actions after the click.

Do you know what the cause of the problem is and how to resolve it?

Thank you for your feedback,

-Hoang Long

This topic has been closed for replies.

2 replies

Adobe Employee
June 3, 2009

This looks like a bug that was fixed just recently, in build 445. Links that fall right at the end of the TextFlow don't get the hand cursor when the mouse is over the link. If you add another character (for example a space) right after the link, it should work fine. Or you can just wait until a build with the fix is available.

texttileAuthor
Inspiring
June 4, 2009

Hi Robin,

Do you get the two browser window opened ? I encountered it on Windows Vista.

One is as a new tab and the second one is a true popup (tested on firefox)

thanks,

-Hoang Long

texttileAuthor
Inspiring
May 28, 2009

the hand cursor is because of this one:

http://forums.adobe.com/message/1967314#1967314

I am still looking for the two windows opened workarounds.

-Hoang Long