
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Bummed out over AIR&#8217;s HTML component</title>
	<atom:link href="http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/</link>
	<description>A nerd blog about nerdy things by ... nerdy guys?</description>
	<lastBuildDate>Tue, 11 Oct 2011 21:59:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Frustrated</title>
		<link>http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/comment-page-1/#comment-4536</link>
		<dc:creator>Frustrated</dc:creator>
		<pubDate>Sun, 20 Dec 2009 21:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/#comment-4536</guid>
		<description>Hi, for some reasons I can&#039;t see embedded flash movies, embedded windows media player using mx:HTML component in an AIR application. Does anyone here experience the same?</description>
		<content:encoded><![CDATA[<p>Hi, for some reasons I can&#8217;t see embedded flash movies, embedded windows media player using mx:HTML component in an AIR application. Does anyone here experience the same?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank Krul</title>
		<link>http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/comment-page-1/#comment-4296</link>
		<dc:creator>Frank Krul</dc:creator>
		<pubDate>Wed, 18 Feb 2009 19:38:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/#comment-4296</guid>
		<description>Don&#039;t fret, you just need to tweak the incoming HTML object to do what you want:

In a listener for the complete event of an HTML load grab the links:

var allHrefs:Object = e.currentTarget.domWindow.document.getElementsByTagName(&quot;a&quot;);

Now do a for a loop to read through the allHrefs Object (treat it like an array) and call a separate function for allHrefs:

allHrefs[i].onclick = clickLink();

In that clickLink function you can check the current target, if it&#039;s blank, then:

navigateToURL(new URLRequest(someObjectReference.currentTarget.href),”blank”); 

That&#039;s it.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t fret, you just need to tweak the incoming HTML object to do what you want:</p>
<p>In a listener for the complete event of an HTML load grab the links:</p>
<p>var allHrefs:Object = e.currentTarget.domWindow.document.getElementsByTagName(&#8220;a&#8221;);</p>
<p>Now do a for a loop to read through the allHrefs Object (treat it like an array) and call a separate function for allHrefs:</p>
<p>allHrefs[i].onclick = clickLink();</p>
<p>In that clickLink function you can check the current target, if it&#8217;s blank, then:</p>
<p>navigateToURL(new URLRequest(someObjectReference.currentTarget.href),”blank”); </p>
<p>That&#8217;s it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foo boar</title>
		<link>http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/comment-page-1/#comment-2898</link>
		<dc:creator>foo boar</dc:creator>
		<pubDate>Sun, 01 Jul 2007 11:01:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/2007/06/30/bummed-out-over-airs-html-component/#comment-2898</guid>
		<description>So, not sure about _blank windows, that was a bug in previous builds. Don&#039;t know if they fixed this yet.

However, for opening links, there&#039;s a callback into actionscript, which can then take the appropriate action. It&#039;s made that way to give you more flexibility.</description>
		<content:encoded><![CDATA[<p>So, not sure about _blank windows, that was a bug in previous builds. Don&#8217;t know if they fixed this yet.</p>
<p>However, for opening links, there&#8217;s a callback into actionscript, which can then take the appropriate action. It&#8217;s made that way to give you more flexibility.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

