<?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: Creating A Downloader For YouTube with Flex/Air</title>
	<atom:link href="http://www.thetechlabs.com/tutorials/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/</link>
	<description>The Tech Labs</description>
	<lastBuildDate>Thu, 09 Feb 2012 07:28:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Chris</title>
		<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/comment-page-1/#comment-29112</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 03 Aug 2010 20:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=61#comment-29112</guid>
		<description>I changed the getFLVURL() function to this to get the downloading working.
It picks out the fmt_url_map flash var, and finds the url that comes after the format &quot;5&quot; or &quot;18&quot; (high quality).

var regex:RegExp = /fmt_url_map=(.+?)&amp;/;
var matches:Array = regex.exec(html);
if (matches != null) {
	var urls:Array = unescape(matches[1]).split(&quot;,&quot;);
	for each (var s:String in urls) {
		var pipes:Array = s.split(&quot;&#124;&quot;);
		if (pipes.length &gt;= 2) {
			var num:int = pipes[0];
			if ((num == 5) &#124;&#124; (num == 18 /*HQ*/)) {
				var url:String = pipes[1];
				return url;
			}
		}
	}
}
return null;</description>
		<content:encoded><![CDATA[<p>I changed the getFLVURL() function to this to get the downloading working.<br />
It picks out the fmt_url_map flash var, and finds the url that comes after the format &#8220;5&#8243; or &#8220;18&#8243; (high quality).</p>
<p>var regex:RegExp = /fmt_url_map=(.+?)&amp;/;<br />
var matches:Array = regex.exec(html);<br />
if (matches != null) {<br />
	var urls:Array = unescape(matches[1]).split(&#8220;,&#8221;);<br />
	for each (var s:String in urls) {<br />
		var pipes:Array = s.split(&#8220;|&#8221;);<br />
		if (pipes.length &gt;= 2) {<br />
			var num:int = pipes[0];<br />
			if ((num == 5) || (num == 18 /*HQ*/)) {<br />
				var url:String = pipes[1];<br />
				return url;<br />
			}<br />
		}<br />
	}<br />
}<br />
return null;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex Application Development</title>
		<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/comment-page-1/#comment-27244</link>
		<dc:creator>Flex Application Development</dc:creator>
		<pubDate>Wed, 14 Jul 2010 06:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=61#comment-27244</guid>
		<description>Its not imported on Flex Builder 3 and Given Run-time Error in Flex 4</description>
		<content:encoded><![CDATA[<p>Its not imported on Flex Builder 3 and Given Run-time Error in Flex 4</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: freefilmszone</title>
		<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/comment-page-1/#comment-22455</link>
		<dc:creator>freefilmszone</dc:creator>
		<pubDate>Sat, 29 May 2010 16:52:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=61#comment-22455</guid>
		<description>Great site - love it</description>
		<content:encoded><![CDATA[<p>Great site &#8211; love it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Latest Computer Tips</title>
		<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/comment-page-1/#comment-19702</link>
		<dc:creator>Latest Computer Tips</dc:creator>
		<pubDate>Tue, 20 Apr 2010 15:49:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=61#comment-19702</guid>
		<description>That a very nice article. Downloading....</description>
		<content:encoded><![CDATA[<p>That a very nice article. Downloading&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiumars</title>
		<link>http://www.thetechlabs.com/audionvideo/creating-a-downloader-for-youtube-with-flexair-2/comment-page-1/#comment-15036</link>
		<dc:creator>Kiumars</dc:creator>
		<pubDate>Sun, 10 Jan 2010 22:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thetechlabs.com/?p=61#comment-15036</guid>
		<description>I am getting error 1009. 
I can search but when double click on the movie it gives me error 1009.

Any tip for me?

Thanks,</description>
		<content:encoded><![CDATA[<p>I am getting error 1009.<br />
I can search but when double click on the movie it gives me error 1009.</p>
<p>Any tip for me?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 435/441 objects using disk: basic

Served from: www.thetechlabs.com @ 2012-02-09 14:50:05 -->
