Skip to main content
Participant
January 20, 2010
Question

Text links in TLF when viewed in AIR don't work

  • January 20, 2010
  • 2 replies
  • 598 views

I'm developing an APP that leverages TLF both on the web as well as an AIR app.

What happens is this: text links (ie: spun directly with a 'p' element) will open their

intended URL in the browser, but in the AIR app, nothing happens.

I haven't come across a documented work-around so am hoping someone here can

provide some insight into the matter.

thanks much.

This topic has been closed for replies.

2 replies

Koryo1975Author
Participant
January 25, 2010

Hey Alan,

I am using a fully-qualified URL for the link. I need to dig deeper with this and possibly consider binding custom events.

cheers,

Jonathan

Adobe Employee
January 26, 2010

If the text in the AIR app is editable, it is ambiguous whether a click in the link should select or go to url. When the text is editable, to go url you need to control-click. If you are seeing the i-beam cursor in your link after you click, this could be your problem.

January 21, 2010

Is the href attribute in your link fully qualified? If I have a link like this:

<s:a href="foo.com">foo</s:a>

Then the browser tries to open it as a relative path, but AIR seemingly does nothing. But if I have a link like this:

<s:a href="http://foo.com">foo</s:a>

Then both the browser and AIR open the link in the browser.