I’m having a bit of trouble with html links in my scrollPane.
I have an htmlTextField in my scrollPane, it seems the links are clickable only as long as the scroll pane has not been scrolled. Any Ideas?
I’m having a bit of trouble with html links in my scrollPane.
I have an htmlTextField in my scrollPane, it seems the links are clickable only as long as the scroll pane has not been scrolled. Any Ideas?
Ha… got it.
I was importing xml CData text, in to my text field & displayed as htmlText . No problem there. But the incoming data had links, and once the scroll pane had been scrolled, the links would no longer work.
Solution: It seems when the scrolling occurred, the text field was changed in to a sprite. To prevent this from happening, it seems, I simply needed to cash the text as a bitmap. Then the links would continue to work, scrolled or not.
content_textfield.cacheAsBitmap = true;
:: Copyright KIRUPA 2024 //--