hand cursor lost in link element, 2 windows opened after click
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
