Skip to main content
Participant
Jan 20, 2010 10:20 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Koryo1975Author
Participant
Jan 25, 2010 2:53 PM UTC

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

Translate
Adobe Employee
Jan 26, 2010 2:24 AM UTC

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.

Translate
Jan 21, 2010 10:53 PM UTC

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.

Translate