Skip to main content
Known Participant
July 5, 2012
Question

Hyperlinks in text difficult to touch

  • July 5, 2012
  • 3 replies
  • 674 views

I am developing an iPad only app and testing on an iPad 2. The app is a news reader type app with lots of scrolling text that contains hyperlinks.

The font size I am using for the body text is 15.

I am experiencing difficulties "touching" the hyperlinks and wondered if there are any tips to improve this.

In case it is of any help, here is the code I use though I suspect it is more due to the text size.

My fingers are not fat:)

var strLink:String = "http://www.google.com";

var strTitle:String = "Dummy Title";

var whatsNewText:String = '<a href = "event:' + strLink + '">' + strTitle + '</a>' + '\n';

objApp.sidePanelObject.whatsNewTxt.htmlText = whatsNewText;

objApp.sidePanelObject.whatsNewTxt.addEventListener(TextEvent.LINK, linkHandler);

function linkHandler(linkEvent:TextEvent):void {

          playClickSound();

          displayPassedWebsite(linkEvent.text);

}

This topic has been closed for replies.

3 replies

Inspiring
July 5, 2012

I've had thi issue as well.   I just dynamically draw a rectangle over any links that is much larger and touch that instead.

P StevenAuthor
Known Participant
July 6, 2012

Thanks for the replies - I am pleased that others have experienced this. I do not think this is such a problem with hyperlinks with native apps but not 100% sure.

I did think of dynamically drawing rectangles however my content is one long scrolling movie clip comprised of text and images and there are quite a lot of hyperlinks in the text. As you probably are aware, the scrolling performance is not great with AIR IOS apps. I am using BlitMask though that certainly improves things but means the hyperlinks are not active until the scrolling stops.

I wonder if this issue is something that could be improved by Adobe or if it is just something we need to live with. It is difficult explaining to my client why they are having such difficulty clicking hyperlinks.

Inspiring
July 5, 2012

I have experienced a hard time clicking text links like this too. It almost seems as if it is requiring you to excact touch the letters themselves (which are thin with many holes in between) rather than a rectangle around the linked text area.