<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DoNotYet.com &#187; AIR</title>
	<atom:link href="http://www.donotyet.com/category/adobe-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.donotyet.com</link>
	<description>Freebie Resources for Tech Users, AIR, Flex, Flash Developers and Photoshop, web Designers</description>
	<lastBuildDate>Wed, 07 Dec 2011 06:35:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adobe AIR Source Line Count(with source code)</title>
		<link>http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/</link>
		<comments>http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 02:59:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Line count]]></category>
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/</guid>
		<description><![CDATA[As a programmer, project manager or a customer, we need an overview of a project source code. There are so many tools which can help us quickly and easily get a report on source code in some programming languages such as C/C++, Java, PHP etc.
As a adobe AIR programmer, mayby you wanna make a Source [...]]]></description>
			<content:encoded><![CDATA[<p>As a programmer, project manager or a customer, we need an overview of a project source code. There are so many tools which can help us quickly and easily get a report on source code in some programming languages such as C/C++, Java, PHP etc.</p>
<p>As a adobe AIR programmer, mayby you wanna make a Source Line Counter by yourself, you can know the line of *.mxml and *.as. How can we build it?</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-472"></span>  </p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/10/www_donotyet_com_AdobeAIRSourceLineCountwithsourcecode.jpg"><img title="www_donotyet_com_Adobe-AIR-Source-Line-Count-with-source-code" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="358" alt="www_donotyet_com_Adobe-AIR-Source-Line-Count-with-source-code" src="http://www.donotyet.com/wp-content/uploads/2009/10/www_donotyet_com_AdobeAIRSourceLineCountwithsourcecode_thumb.jpg" width="504" border="0" /></a> </p>
<p>Following is the source code on how to count the&#160; *.mxml and *.as. Only one source file be support in this sample but you can easily modify it to support mutli-files like a full AIR project.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Gray;"> ?</span><span style="color: Green;">xml</span><span style="color: Gray;"> </span><span style="color: #00008b;">version</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">1.0</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">encoding</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">utf-8</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">?&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">mx</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">:WindowedApplication</span><span style="color: Gray;"> </span><span style="color: #00008b;">xmlns:mx</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.adobe.com/2006/mxml</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">layout</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">absolute</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Green;">mx</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">:Button</span><span style="color: Gray;"> </span><span style="color: #00008b;">x</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">209</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">y</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">166</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">label</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Button</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">click</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">clickHandler()</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">/&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">mx</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">mx</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">:Script</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> ![</span><span style="color: #00008b;">CDATA</span><span style="color: Gray;">[</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">var</span><span style="color: Gray;"> </span><span style="color: #00008b;">codeTextFile:File</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">var</span><span style="color: Gray;"> </span><span style="color: #00008b;">codeTextFileStream:FileStream</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">var</span><span style="color: Gray;"> </span><span style="color: #00008b;">lineCount:uint</span><span style="color: Gray;"> = </span><span style="color: #00008b;">0</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">function</span><span style="color: Gray;"> </span><span style="color: #00008b;">clickHandler</span><span style="color: Gray;">()</span><span style="color: #00008b;">:void</span><span style="color: Gray;"> {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFile</span><span style="color: Gray;"> = </span><span style="color: #00008b;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">File</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">file:///C:/source-code.txt</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;"> = </span><span style="color: #00008b;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">FileStream</span><span style="color: Gray;">();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">open</span><span style="color: Gray;">(</span><span style="color: #00008b;">codeTextFile</span><span style="color: Gray;">, </span><span style="color: #00008b;">FileMode</span><span style="color: Gray;">.</span><span style="color: #00008b;">WRITE</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">codeFile:File</span><span style="color: Gray;"> = </span><span style="color: #00008b;">new</span><span style="color: Gray;"> </span><span style="color: #00008b;">File</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">file:///C:/flex/apps</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">writeCodeTectFile</span><span style="color: Gray;">(</span><span style="color: #00008b;">codeFile</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">writeUTFBytes</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">================================\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">writeUTFBytes</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">code line count : </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">+</span><span style="color: #00008b;">lineCount</span><span style="color: Gray;">+</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">writeUTFBytes</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">================================\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">close</span><span style="color: Gray;">();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">function</span><span style="color: Gray;"> </span><span style="color: #00008b;">writeCodeTectFile</span><span style="color: Gray;">(</span><span style="color: #00008b;">file:File</span><span style="color: Gray;">)</span><span style="color: #00008b;">:void</span><span style="color: Gray;"> {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">if</span><span style="color: Gray;">(</span><span style="color: #00008b;">file</span><span style="color: Gray;">.</span><span style="color: #00008b;">isDirectory</span><span style="color: Gray;">) {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">arr:Array</span><span style="color: Gray;"> = </span><span style="color: #00008b;">file</span><span style="color: Gray;">.</span><span style="color: #00008b;">getDirectoryListing</span><span style="color: Gray;">();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">for</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">each</span><span style="color: Gray;">(</span><span style="color: #00008b;">var</span><span style="color: Gray;"> </span><span style="color: #00008b;">f:File</span><span style="color: Gray;"> </span><span style="color: #00008b;">in</span><span style="color: Gray;"> </span><span style="color: #00008b;">arr</span><span style="color: Gray;">) {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">writeCodeTectFile</span><span style="color: Gray;">(</span><span style="color: #00008b;">f</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">else</span><span style="color: Gray;"> {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">r:RegExp</span><span style="color: Gray;"> = /.+\.(</span><span style="color: #00008b;">as</span><span style="color: Gray;">|</span><span style="color: #00008b;">mxml</span><span style="color: Gray;">)/;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">if</span><span style="color: Gray;">(</span><span style="color: #00008b;">r</span><span style="color: Gray;">.</span><span style="color: #00008b;">test</span><span style="color: Gray;">(</span><span style="color: #00008b;">file</span><span style="color: Gray;">.</span><span style="color: #00008b;">name</span><span style="color: Gray;">)) {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">fs:FileStream</span><span style="color: Gray;"> = </span><span style="color: #00008b;">new</span><span style="color: Gray;"> </span><span style="color: #00008b;">FileStream</span><span style="color: Gray;">();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">fs</span><span style="color: Gray;">.</span><span style="color: #00008b;">open</span><span style="color: Gray;">(</span><span style="color: #00008b;">file</span><span style="color: Gray;">,</span><span style="color: #00008b;">FileMode</span><span style="color: Gray;">.</span><span style="color: #00008b;">READ</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">s:String</span><span style="color: Gray;"> = </span><span style="color: #00008b;">fs</span><span style="color: Gray;">.</span><span style="color: #00008b;">readUTFBytes</span><span style="color: Gray;">(</span><span style="color: #00008b;">fs</span><span style="color: Gray;">.</span><span style="color: #00008b;">bytesAvailable</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">r2:RegExp</span><span style="color: Gray;"> = /\</span><span style="color: #00008b;">n</span><span style="color: Gray;">/</span><span style="color: Green;">g</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">lineCount</span><span style="color: Gray;"> += </span><span style="color: #00008b;">s</span><span style="color: Gray;">.</span><span style="color: #00008b;">match</span><span style="color: Gray;">(</span><span style="color: #00008b;">r2</span><span style="color: Gray;">).</span><span style="color: #00008b;">length</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">writeUTFBytes</span><span style="color: Gray;">(</span><span style="color: #00008b;">s</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">fs</span><span style="color: Gray;">.</span><span style="color: #00008b;">close</span><span style="color: Gray;">();</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">codeTextFileStream</span><span style="color: Gray;">.</span><span style="color: #00008b;">writeUTFBytes</span><span style="color: Gray;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">\n\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">);</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; ]]</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">mx</span><span style="color: Olive;">&gt;</span></li></ol></div>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/" title="How to Render PDF Content in AIR(With Source Code)">How to Render PDF Content in AIR(With Source Code)</a></li>
<li><a href="http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/" title="126 Great Adobe AIR Applications Make Your Lives Easier">126 Great Adobe AIR Applications Make Your Lives Easier</a></li>
<li><a href="http://www.donotyet.com/2011/05/09/adobe-photoshop-tutorial-for-beginners-get-started-guide/" title="Adobe Photoshop Tutorial for Beginners: Get Started Guide">Adobe Photoshop Tutorial for Beginners: Get Started Guide</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-products-psd-free-download/" title="ADOBE Products PSD Free Download">ADOBE Products PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-logo-psd-free-download/" title="Adobe Photoshop CS3 Logo PSD Free Download">Adobe Photoshop CS3 Logo PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-extended-psd-free-download/" title="Adobe Photoshop CS3 Extended PSD Free Download">Adobe Photoshop CS3 Extended PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-logo-xl-psd-free-download/" title="Adobe Logo XL PSD Free Download">Adobe Logo XL PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-boxes-psd-free-download/" title="ADOBE BOXES PSD Free Download">ADOBE BOXES PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/" title="How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys">How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys</a></li>
<li><a href="http://www.donotyet.com/2009/11/07/add-depth-of-field-to-perk-up-dull-photos-in-adobe-photoshop/" title="Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop">Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ASZip: A Very Useful ActionScript 3 library to Generate ZIP file with Simple Interface</title>
		<link>http://www.donotyet.com/2009/09/27/aszip-a-very-useful-actionscript-3-library-to-generate-zip-file-with-simple-interface/</link>
		<comments>http://www.donotyet.com/2009/09/27/aszip-a-very-useful-actionscript-3-library-to-generate-zip-file-with-simple-interface/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 13:49:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[ASZip]]></category>
		<category><![CDATA[ZIP]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/09/27/aszip-a-very-useful-actionscript-3-library-to-generate-zip-file-with-simple-interface/</guid>
		<description><![CDATA[Because a zip file permits a number of compression algorithms so a ZIP file contains one or more files. FZip is a cute little Actionscript 3 class library, it parses ZIP archives progressively, allowing access to contained files while the archive is loading(@see Actionscript 3 class zip library&#8211;FZip).
Now we will introduce an other actionscript zip [...]]]></description>
			<content:encoded><![CDATA[<p>Because a zip file permits a number of compression algorithms so a ZIP file contains one or more files. FZip is a cute little Actionscript 3 class library, it parses ZIP archives progressively, allowing access to contained files while the archive is loading(@see <a href="http://ntt.cc/2008/01/19/actionscript-class-library-fzip.html">Actionscript 3 class zip library&#8211;FZip</a>).</p>
<p>Now we will introduce an other actionscript zip library: ASZip.&#160; You can generate ZIP files from ActionScript 3 with ASZip. ASZip uses the native gzip (Deflate) compression from the flash.utils.Bytearray.compress() method. More compression algorithms will be added in the future. ASZip has simple interface to add different types of files and directories.</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-320"></span>  </p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/09/WindowsLiveWritercee7efc5f127_14221ASZip-ActionScript-3-library_2.jpg"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="ASZip-ActionScript-3-library" src="http://www.donotyet.com/wp-content/uploads/2009/09/WindowsLiveWritercee7efc5f127_14221ASZip-ActionScript-3-library_thumb.jpg" width="500" height="500" /></a> </p>
<p>The following is a simple sample to generate a text file and PNG file to a zip file:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: #ffa500;">// create the Zip file, first param : compression method</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">myZip</span><span style="color: Gray;">:</span><span style="color: Blue;">ASZip</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">ASZip</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Blue;">CompressionMethod</span><span style="color: Gray;">.</span><span style="color: Blue;">GZIP</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// create a flash.display.BitmapData</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">myStevie</span><span style="color: Gray;">:</span><span style="color: Blue;">Stevie</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">Stevie</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Maroon;">0</span><span style="color: Gray;">, </span><span style="color: Maroon;">0</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// encode it as a PNG</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">bytes</span><span style="color: Gray;">:</span><span style="color: Blue;">ByteArray</span><span style="color: Gray;"> = </span><span style="color: Blue;">PNGEnc</span><span style="color: Gray;">.</span><span style="color: Blue;">encode</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Blue;">myStevie</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// create a text stream</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">txt</span><span style="color: Gray;">:</span><span style="color: Blue;">ByteArray</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">ByteArray</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// write some text into it</span></li>
<li><span style="color: Blue;">txt</span><span style="color: Gray;">.</span><span style="color: Blue;">writeUTFBytes</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Hello there !!</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// add a pics folder</span></li>
<li><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">addDirectory</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">pics/</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// then a text folder</span></li>
<li><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">addDirectory</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// pass the PNG stream and specify a file name and location</span></li>
<li><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">addFile</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Blue;">bytes</span><span style="color: Gray;">, </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">pics/stevie.png</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// pass the text stream and specify a file name and location</span></li>
<li><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">addFile</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Blue;">txt</span><span style="color: Gray;">, </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">text/story.txt</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// add a comment</span></li>
<li><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">addComment</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">A comment !</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: #ffa500;">// generate final Zip file</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">myZipFile</span><span style="color: Gray;">:</span><span style="color: Blue;">ByteArray</span><span style="color: Gray;"> = </span><span style="color: Blue;">myZip</span><span style="color: Gray;">.</span><span style="color: Blue;">saveZIP</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">Method</span><span style="color: Gray;">.</span><span style="color: Blue;">LOCAL</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li></ol></div>
<p>You can download the source from: <a title="http://code.google.com/p/aszip/downloads/list" href="http://code.google.com/p/aszip/downloads/list">http://code.google.com/p/aszip/downloads/list</a></p>
<p><a title="http://ntt.cc/2008/01/19/actionscript-class-library-fzip.html" href="http://ntt.cc/2008/01/19/actionscript-class-library-fzip.html">&#160;</a></p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2010/01/14/7-actionscript-class-let-you-using-xml-easily/" title="7+ ActionScript Class Let You Using XML Easily">7+ ActionScript Class Let You Using XML Easily</a></li>
<li><a href="http://www.donotyet.com/2009/08/28/how-to-wait-or-sleep-in-flex-actionscript/" title="How to Wait or Sleep in Flex/ActionScript">How to Wait or Sleep in Flex/ActionScript</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/09/27/aszip-a-very-useful-actionscript-3-library-to-generate-zip-file-with-simple-interface/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Render PDF Content in AIR(With Source Code)</title>
		<link>http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/</link>
		<comments>http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 14:00:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[Source]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/</guid>
		<description><![CDATA[As we all know, PDF is a file format created by Adobe&#174;, it lets you can view and print a file exactly as the author designed it, without needing to have the same application or fonts used to create the file.
PDF has become an Internet standard for electronic distribution because the look and feel of [...]]]></description>
			<content:encoded><![CDATA[<p>As we all know, PDF is a file format created by Adobe&#174;, it lets you can view and print a file exactly as the author designed it, without needing to have the same application or fonts used to create the file.</p>
<p>PDF has become an Internet standard for electronic distribution because the look and feel of the original document complete with fonts, colors, images, and layout. PDF is so userful, can we render PDF contents in Adobe AIR applications? If can, how to do it?</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-273"></span></p>
<p><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="PDF-maker-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/09/WindowsLiveWriterHowtoRenderPDFContentinAIRWithSourceCode_14381PDF-maker-256x256_3.png" width="256" height="256" /> </p>
<p>We can load the PDF content using a <code>data</code> attribute in the <code>object</code> tag, versions 8.2.3 and 9.0 of Adobe Reader and Acrobat do not allow cross-scripting PDF content in the AIR application sandbox(<a href="http://www.adobe.com/devnet/air/ajax/quickstart/scripting_pdf.html" target="_blank">Here</a> is details). </p>
<p>So, We can use HTMLLoader to load the PDF and add the HTMLLoader to the window of AIR applications.</p>
<p>Following is the source code for redering content in AIR applications.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Green;">if</span><span style="color: Olive;">(</span><span style="color: Blue;">HTMLLoader</span><span style="color: Gray;">.</span><span style="color: Blue;">pdfCapability</span><span style="color: Gray;"> == </span><span style="color: Blue;">HTMLPDFCapability</span><span style="color: Gray;">.</span><span style="color: Blue;">STATUS_OK</span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">htmlLoader</span><span style="color: Gray;">:</span><span style="color: Blue;">HTMLLoader</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">HTMLLoader</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Teal;">url</span><span style="color: Gray;">:</span><span style="color: Blue;">URLRequest</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">URLRequest</span><span style="color: Olive;">(</span><span style="color: Blue;">pathUrl</span><span style="color: Olive;">)</span><span style="color: Gray;">; </span><span style="color: #ffa500;">//URL to the file</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">htmlLoader</span><span style="color: Gray;">.</span><span style="color: Teal;">width</span><span style="color: Gray;"> = </span><span style="color: Blue;">windowWidth</span><span style="color: Gray;">; </span><span style="color: #ffa500;">//width of the content area</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">htmlLoader</span><span style="color: Gray;">.</span><span style="color: Teal;">height</span><span style="color: Gray;"> = </span><span style="color: Blue;">windowHeight</span><span style="color: Gray;">; </span><span style="color: #ffa500;">//height of the content area</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">htmlLoader</span><span style="color: Gray;">.</span><span style="color: Teal;">load</span><span style="color: Olive;">(</span><span style="color: Teal;">url</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: #ffa500;">//wrapping into UIComponent</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">holder</span><span style="color: Gray;">:</span><span style="color: Blue;">UIComponent</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">UIComponent</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">holder</span><span style="color: Gray;">.</span><span style="color: Blue;">addChild</span><span style="color: Olive;">(</span><span style="color: Blue;">htmlLoader</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">addChild</span><span style="color: Olive;">(</span><span style="color: Blue;">holder</span><span style="color: Olive;">)</span><span style="color: Gray;">; </span><span style="color: #ffa500;">//add it to any container</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Olive;">}</span></li></ol></div>
<p>Jeff Swartz worte an article describes how to communicate from JavaScript in the HTML page with JavaScript in a PDF page. if interesting, enjoy pls!</p>
<p><a title="http://www.adobe.com/devnet/air/ajax/quickstart/scripting_pdf.html" href="http://www.adobe.com/devnet/air/ajax/quickstart/scripting_pdf.html">http://www.adobe.com/devnet/air/ajax/quickstart/scripting_pdf.html</a></p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/" title="Adobe AIR Source Line Count(with source code)">Adobe AIR Source Line Count(with source code)</a></li>
<li><a href="http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/" title="126 Great Adobe AIR Applications Make Your Lives Easier">126 Great Adobe AIR Applications Make Your Lives Easier</a></li>
<li><a href="http://www.donotyet.com/2011/05/09/adobe-photoshop-tutorial-for-beginners-get-started-guide/" title="Adobe Photoshop Tutorial for Beginners: Get Started Guide">Adobe Photoshop Tutorial for Beginners: Get Started Guide</a></li>
<li><a href="http://www.donotyet.com/2011/02/13/photoshop-tutorial-how-to-adjust-bright-green-color-to-the-scenic-figure/" title="Photoshop Tutorial: How To Adjust Bright Green Color To The Scenic Figure">Photoshop Tutorial: How To Adjust Bright Green Color To The Scenic Figure</a></li>
<li><a href="http://www.donotyet.com/2011/02/06/photoshop-tutorial-how-to-add-sun-light-effect-to-the-figure/" title="Photoshop Tutorial: How To Add Sun Light Effect To The Figure">Photoshop Tutorial: How To Add Sun Light Effect To The Figure</a></li>
<li><a href="http://www.donotyet.com/2011/01/30/photoshop-tutorial-how-to-adjust-bright-color-on-the-scenery-photograph/" title="Photoshop Tutorial: How To Adjust Bright Color On The Scenery Photograph">Photoshop Tutorial: How To Adjust Bright Color On The Scenery Photograph</a></li>
<li><a href="http://www.donotyet.com/2011/01/23/photoshop-tutorial-how-to-make-a-clear-and-gorgeous-rose-flower/" title="Photoshop Tutorial: How To Make a Clear and Gorgeous Rose Flower">Photoshop Tutorial: How To Make a Clear and Gorgeous Rose Flower</a></li>
<li><a href="http://www.donotyet.com/2011/01/16/photoshop-tutorial-how-to-make-colorful-flowers/" title="Photoshop Tutorial: How To Make Colorful Flowers">Photoshop Tutorial: How To Make Colorful Flowers</a></li>
<li><a href="http://www.donotyet.com/2011/01/09/photoshop-tutorial-how-to-add-a-fantastic-light-beam-to-an-individual/" title="Photoshop Tutorial: How To Add a Fantastic Light Beam to an Individual">Photoshop Tutorial: How To Add a Fantastic Light Beam to an Individual</a></li>
<li><a href="http://www.donotyet.com/2010/12/26/photoshop-tutorial-how-to-make-clear-and-beautiful-photo-of-marriage/" title="Photoshop Tutorial: How To Make Clear and Beautiful Photo of Marriage">Photoshop Tutorial: How To Make Clear and Beautiful Photo of Marriage</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Center AIR Window on Screen both Vertically and Horizontally</title>
		<link>http://www.donotyet.com/2009/09/13/how-to-center-air-window-on-screen-both-vertically-and-horizontally/</link>
		<comments>http://www.donotyet.com/2009/09/13/how-to-center-air-window-on-screen-both-vertically-and-horizontally/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 12:42:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Horizontally]]></category>
		<category><![CDATA[Vertically]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/09/13/how-to-center-air-window-on-screen-both-vertically-and-horizontally/</guid>
		<description><![CDATA[Most windows applications be needed to center on screen both vertically and horizontally, for AIR applications, we can use window.runtime.flash. system.Capabilities to do it. This class provides properties that describe the system and runtime that are hosting HTML content. We can provide appropriate content to as many users as possible by using the Capabilities. We [...]]]></description>
			<content:encoded><![CDATA[<p>Most windows applications be needed to center on screen both vertically and horizontally, for AIR applications, we can use window.runtime.flash. system.Capabilities to do it. This class provides properties that describe the system and runtime that are hosting HTML content. We can provide appropriate content to as many users as possible by using the Capabilities. We can use code to alter its presentation when we know the conputer&#8217;s capabilities.</p>
<p>Use screen resolution and native window size properties to set desired coordinates, we can center our AIR application window.</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-265"></span></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/09/WindowsLiveWriterHowtoCenterAIRWindowonScreenbothVertical_13151hecock-s-open-air-window_21.jpg"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="hecock-s-open-air-window" src="http://www.donotyet.com/wp-content/uploads/2009/09/WindowsLiveWriterHowtoCenterAIRWindowonScreenbothVertical_13151hecock-s-open-air-window_thumb1.jpg" width="500" height="375" /></a> </p>
<p>Set AIR window x coordinate using Capabilities.screenResolutionX and nativeWindow.width. Do the same for y coordinate with Capabilities.screenResolutionY and nativeWindow.height.</p>
<p>The following is sample source code.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Olive;">&lt;</span><span style="color: Gray;"> ?</span><span style="color: Green;">xml</span><span style="color: Gray;"> </span><span style="color: #00008b;">version</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">1.0</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">encoding</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">utf-8</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">?&gt;</span></li>
<li><span style="color: Olive;">&lt;</span><span style="color: Green;">mx</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">:WindowedApplication</span><span style="color: Gray;"> </span><span style="color: #00008b;">xmlns:mx</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://www.adobe.com/2006/mxml</span><span style="color: #8b0000;">&quot;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #00008b;">width</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">450</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">height</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">400</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">layout</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">absolute</span><span style="color: #8b0000;">&quot;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #00008b;">creationComplete</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">creationCompleteHandler(event);</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">mx</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">mx</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">:Script</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">&lt;</span><span style="color: Gray;"> ![</span><span style="color: #00008b;">CDATA</span><span style="color: Gray;">[</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">function</span><span style="color: Gray;"> </span><span style="color: #00008b;">creationCompleteHandler</span><span style="color: Gray;">(</span><span style="color: #00008b;">event:</span><span style="color: Gray;"> </span><span style="color: #00008b;">Event</span><span style="color: Gray;">)</span><span style="color: #00008b;">:</span><span style="color: Gray;"> </span><span style="color: #00008b;">void</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">nativeWindow</span><span style="color: Gray;">.</span><span style="color: #00008b;">x</span><span style="color: Gray;"> = (</span><span style="color: #00008b;">Capabilities</span><span style="color: Gray;">.</span><span style="color: #00008b;">screenResolutionX</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">-</span><span style="color: Gray;"> </span><span style="color: #00008b;">nativeWindow</span><span style="color: Gray;">.</span><span style="color: #00008b;">width</span><span style="color: Gray;">) / </span><span style="color: #00008b;">2</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #00008b;">nativeWindow</span><span style="color: Gray;">.</span><span style="color: #00008b;">y</span><span style="color: Gray;"> = (</span><span style="color: #00008b;">Capabilities</span><span style="color: Gray;">.</span><span style="color: #00008b;">screenResolutionY</span><span style="color: Gray;">&nbsp;</span><span style="color: #00008b;">-</span><span style="color: Gray;"> </span><span style="color: #00008b;">nativeWindow</span><span style="color: Gray;">.</span><span style="color: #00008b;">height</span><span style="color: Gray;">) / </span><span style="color: #00008b;">2</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; ]]</span><span style="color: Olive;">&gt;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">&lt;/</span><span style="color: Green;">mx</span><span style="color: Olive;">&gt;</span></li></ol></div>
<p>The code is simple but hope it will be helpful for someone.</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/" title="Adobe AIR Source Line Count(with source code)">Adobe AIR Source Line Count(with source code)</a></li>
<li><a href="http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/" title="How to Render PDF Content in AIR(With Source Code)">How to Render PDF Content in AIR(With Source Code)</a></li>
<li><a href="http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/" title="How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET">How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET</a></li>
<li><a href="http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/" title="126 Great Adobe AIR Applications Make Your Lives Easier">126 Great Adobe AIR Applications Make Your Lives Easier</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/09/13/how-to-center-air-window-on-screen-both-vertically-and-horizontally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Resume Download or Accessing Serial Port in AIR Applications VIA SOCKET</title>
		<link>http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/</link>
		<comments>http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 13:36:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[Serial port]]></category>
		<category><![CDATA[SOCKET]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/</guid>
		<description><![CDATA[The Flex sockets are so cool, you can connect to any type of TCP/IP server, because of security policy we cant add and change HTTP headers, but using SOCKET you can send any type of HTTP requests and working with responses. So if you hope the task was to implement a download manager with resume [...]]]></description>
			<content:encoded><![CDATA[<p>The Flex sockets are so cool, you can connect to any type of TCP/IP server, because of security policy we cant add and change HTTP headers, but using SOCKET you can send any type of HTTP requests and working with responses. So if you hope the task was to implement a download manager with resume download support, SOCKET is a good solution for you.</p>
<p>The same with above, if you want to use printer with air, you can not find any poperties to accessing serial port or usb, but it is possible with a binary socket and serial proxy. </p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-140"></span>  </p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriterHowtoResumeDownloadinAIRApplicationsVIAS_13AD9adobe-air_2.jpg"><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="adobe-air" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriterHowtoResumeDownloadinAIRApplicationsVIAS_13AD9adobe-air_thumb.jpg" width="453" height="554" /></a> </p>
<p>Following is a set of source code which is demonstrace how to use SOCKET to implement resume download and how to write received data.</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">Event</span><span style="color: Gray;">.</span><span style="color: Blue;">CLOSE</span><span style="color: Gray;">, </span><span style="color: Blue;">socketClose</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">; </span><span style="color: #ffa500;">// === COMPLETE </span></li>
<li><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">Event</span><span style="color: Gray;">.</span><span style="color: Blue;">CONNECT</span><span style="color: Gray;">, </span><span style="color: Blue;">socketConnect</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">IOErrorEvent</span><span style="color: Gray;">.</span><span style="color: Blue;">IO_ERROR</span><span style="color: Gray;">, </span><span style="color: Blue;">uStreamIOErrorHandler</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">; </span></li>
<li><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">SecurityErrorEvent</span><span style="color: Gray;">.</span><span style="color: Blue;">SECURITY_ERROR</span><span style="color: Gray;">, </span><span style="color: Blue;">uStreamSecurityErrorHandler</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">; </span></li>
<li><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">ProgressEvent</span><span style="color: Gray;">.</span><span style="color: Blue;">SOCKET_DATA</span><span style="color: Gray;">, </span><span style="color: Blue;">socketData</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">; </span><span style="color: #ffa500;">// === PROGRESS </span></li>
<li><span style="color: Green;">public</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">downloadFile</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> $</span><span style="color: Blue;">fileURL</span><span style="color: Gray;">:</span><span style="color: Teal;">String</span><span style="color: Gray;">, $</span><span style="color: Blue;">fileName</span><span style="color: Gray;">:</span><span style="color: Teal;">String</span><span style="color: Gray;">, $</span><span style="color: Blue;">pathToSave</span><span style="color: Gray;">:</span><span style="color: Teal;">String</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_isBusy</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// _pathToTarget is path to file on server</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// i.e. /getFile?myfile.jpg</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// NOTE it cant be an url or anything, depends on serve config</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_pathToTarget</span><span style="color: Gray;">&nbsp; &nbsp; = </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">/getFile?</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> + $</span><span style="color: Blue;">fileURL</span><span style="color: Gray;">.</span><span style="color: Teal;">split</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">/getFile?</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">)[</span><span style="color: Maroon;">1</span><span style="color: Olive;">]</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_host</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = </span><span style="color: Blue;">URLUtil</span><span style="color: Gray;">.</span><span style="color: Blue;">getServerName</span><span style="color: Olive;">(</span><span style="color: Gray;"> $</span><span style="color: Blue;">fileURL</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">fl</span><span style="color: Gray;"> : </span><span style="color: Blue;">File</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">File</span><span style="color: Olive;">()</span><span style="color: Gray;">.</span><span style="color: Blue;">resolvePath</span><span style="color: Olive;">(</span><span style="color: Gray;"> $</span><span style="color: Blue;">pathToSave</span><span style="color: Gray;"> + </span><span style="color: Blue;">File</span><span style="color: Gray;">.</span><span style="color: Blue;">separator</span><span style="color: Gray;"> + $</span><span style="color: Blue;">fileName</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// PATH TO YOU DOWNLOAD FILE </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">fl</span><span style="color: Gray;"> : </span><span style="color: Blue;">File</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">File</span><span style="color: Olive;">()</span><span style="color: Gray;">.</span><span style="color: Blue;">resolvePath</span><span style="color: Olive;">(</span><span style="color: Gray;"> $</span><span style="color: Blue;">pathToSave</span><span style="color: Gray;"> + </span><span style="color: Blue;">File</span><span style="color: Gray;">.</span><span style="color: Blue;">separator</span><span style="color: Gray;"> + $</span><span style="color: Blue;">fileName</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">fl</span><span style="color: Gray;">.</span><span style="color: Blue;">exists</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// position from download will be started</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_downloadFromBytes</span><span style="color: Gray;">&nbsp; &nbsp; = </span><span style="color: Blue;">fl</span><span style="color: Gray;">.</span><span style="color: Teal;">size</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// indicates is headers from socket data wah removed or not</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_headerRemoved</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; = </span><span style="color: Green;">false</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// creating file stream to append downloaded data</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">FileStream</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Teal;">open</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">fl</span><span style="color: Gray;">, </span><span style="color: Blue;">FileMode</span><span style="color: Gray;">.</span><span style="color: Blue;">APPEND</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// check is socket is connected already</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">connected</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">sendRequest</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">else</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// connecting to your host and port</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// i.e. host </span><span style="color: Blue;">http://www.mydomain.com</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// i.e. post 80</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Teal;">connect</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_host</span><span style="color: Gray;">, </span><span style="color: Blue;">_port</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">else</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// if file is not exist downloading file with bacis download method. </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">FileStream</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_urlRequest</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">URLRequest</span><span style="color: Olive;">(</span><span style="color: Gray;"> $</span><span style="color: Blue;">fileURL</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Teal;">open</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">fl</span><span style="color: Gray;">, </span><span style="color: Blue;">FileMode</span><span style="color: Gray;">.</span><span style="color: Blue;">WRITE</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_urlStream</span><span style="color: Gray;">.</span><span style="color: Teal;">load</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_urlRequest</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Green;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">socketConnect</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">event</span><span style="color: Gray;">:</span><span style="color: Blue;">Event</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">sendRequest</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp;</span><span style="color: Green;">private</span><span style="color: Gray;"> </span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">socketClose</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">event</span><span style="color: Gray;">:</span><span style="color: Blue;">Event</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Teal;">close</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp;</span><span style="color: Green;">private</span><span style="color: Gray;"> </span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">uStreamIOErrorHandler</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">event</span><span style="color: Gray;">:</span><span style="color: Blue;">IOErrorEvent</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Teal;">close</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp;</span><span style="color: Green;">private</span><span style="color: Gray;"> </span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">uStreamSecurityErrorHandler</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">event</span><span style="color: Gray;">:</span><span style="color: Blue;">SecurityErrorEvent</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Teal;">close</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp;</span><span style="color: Green;">private</span><span style="color: Gray;"> </span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">sendRequest</span><span style="color: Gray;"> </span><span style="color: Olive;">()</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">request</span><span style="color: Gray;"> : </span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// _pathToTarget is path to file on server</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// i.e. /getFile?myfile.jpg</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// NOTE it cant be an url or anything, depends on serve config</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">request</span><span style="color: Gray;"> += </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">GET </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> + </span><span style="color: Blue;">_pathToTarget</span><span style="color: Gray;"> + </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;"> HTTP/1.1</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> + </span><span style="color: #8b0000;">&quot;</span><span style="color: Navy;">\n</span><span style="color: #8b0000;">&quot;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// host where file is hosted</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// i.e. </span><span style="color: Blue;">http://www.mydomain.com</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">request</span><span style="color: Gray;"> += </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Host: </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> + </span><span style="color: Blue;">_host</span><span style="color: Gray;"> + </span><span style="color: #8b0000;">&quot;</span><span style="color: Navy;">\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// bytes from download will be started</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">request</span><span style="color: Gray;"> += </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Range: bytes=</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> + </span><span style="color: Blue;">_downloadFromBytes</span><span style="color: Gray;"> + </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">- </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">request</span><span style="color: Gray;"> += </span><span style="color: #8b0000;">&quot;</span><span style="color: Navy;">\n\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// sending this request</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">sendMultiByte</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">request</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li>
<li><span style="color: Green;">private</span><span style="color: Gray;">&nbsp;</span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">socketData</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">event</span><span style="color: Gray;">:</span><span style="color: Blue;">ProgressEvent</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> : </span><span style="color: Green;">void</span></li>
<li><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// creating holder for loaded bytes</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_loadedBytes</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Blue;">ByteArray</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">ByteArray</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// length of content to download from server</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_contentLength</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Teal;">Number</span><span style="color: Gray;"> = </span><span style="color: Maroon;">0</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// creating holder for bytes to APPEND to existed file on you HDD</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_bytesToWrite</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Blue;">ByteArray</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;"> </span><span style="color: Blue;">ByteArray</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: #ffa500;">// if we have some data from socket</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">bytesAvailable</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// reading bytes</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">readBytes</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_loadedBytes</span><span style="color: Gray;">, </span><span style="color: Blue;">_prevBytesPosition</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// checking if headers was removed</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// if not we must remove HTTP headers from socket data, </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// to avoid writing this HTTP headers in to file body on HDD</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> !</span><span style="color: Blue;">_headerRemoved</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">loadedChars</span><span style="color: Gray;"> : </span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// making loop to remove all HTTP headers</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">for</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Green;">var</span><span style="color: Gray;"> </span><span style="color: Blue;">i</span><span style="color: Gray;"> : </span><span style="color: Teal;">int</span><span style="color: Gray;"> = </span><span style="color: Maroon;">0</span><span style="color: Gray;">; </span><span style="color: Blue;">i</span><span style="color: Gray;"> &lt; </span><span style="color: Blue;">_loadedBytes</span><span style="color: Gray;">.</span><span style="color: Teal;">length</span><span style="color: Gray;">; </span><span style="color: Blue;">i</span><span style="color: Gray;">++&nbsp; </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">if</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">loadedChars</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">13101310</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> &gt; -</span><span style="color: Maroon;">1</span><span style="color: Gray;"> || </span><span style="color: Blue;">loadedChars</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">1313</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> &gt; -</span><span style="color: Maroon;">1</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_bytesToWrite</span><span style="color: Gray;">.</span><span style="color: Blue;">writeByte</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_loadedBytes</span><span style="color: Olive;">[</span><span style="color: Gray;"> </span><span style="color: Blue;">i</span><span style="color: Gray;"> </span><span style="color: Olive;">]</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">else</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">loadedChars</span><span style="color: Gray;"> += </span><span style="color: Teal;">String</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_loadedBytes</span><span style="color: Olive;">[</span><span style="color: Blue;">i</span><span style="color: Olive;">]</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">str</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: Blue;">_loadedBytes</span><span style="color: Gray;">.</span><span style="color: Teal;">toString</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">httpStatus</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Teal;">String</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">headerEndIndex</span><span style="color: Gray;">&nbsp; &nbsp; : </span><span style="color: Teal;">int</span><span style="color: Gray;"> = </span><span style="color: Blue;">str</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Content-Transfer-Encoding: binary</span><span style="color: Navy;">\r\n\r\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// getting content length, it may be useful for progress calculation</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_range</span><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : </span><span style="color: Teal;">String</span><span style="color: Gray;"> = </span><span style="color: Blue;">StringUtil</span><span style="color: Gray;">.</span><span style="color: Blue;">trim</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">str</span><span style="color: Gray;">.</span><span style="color: Teal;">substr</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">str</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Content-Range: bytes </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> + </span><span style="color: Maroon;">21</span><span style="color: Gray;">, </span><span style="color: Blue;">str</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Connection:</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> - </span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">str</span><span style="color: Gray;">.</span><span style="color: Teal;">indexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Content-Range: bytes </span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> + </span><span style="color: Maroon;">21</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_contentLength</span><span style="color: Gray;"> = </span><span style="color: Teal;">parseInt</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_range</span><span style="color: Gray;">.</span><span style="color: Teal;">substr</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: Blue;">_range</span><span style="color: Gray;">.</span><span style="color: Teal;">lastIndexOf</span><span style="color: Olive;">(</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">/</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> + </span><span style="color: Maroon;">1</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// setting headerRemoved flag to true, to avoid next time checking for &quot;clear&quot; content</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_headerRemoved</span><span style="color: Gray;"> = </span><span style="color: Green;">true</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">else</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_bytesToWrite</span><span style="color: Gray;"> = </span><span style="color: Blue;">_loadedBytes</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// writing file data in to file on HDD</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">_fileStream</span><span style="color: Gray;">.</span><span style="color: Blue;">writeBytes</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">_bytesToWrite</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">_prevBytesPosition</span><span style="color: Gray;"> = </span><span style="color: Blue;">_socket</span><span style="color: Gray;">.</span><span style="color: Blue;">bytesAvailable</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">event</span><span style="color: Gray;">.</span><span style="color: Teal;">bytesTotal</span><span style="color: Gray;"> = </span><span style="color: Blue;">_contentLength</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Blue;">dispatchEvent</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">event</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Olive;">}</span></li></ol></div>
<p>And here is a simple sample of how to use binary socket and serial proxy:</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Green;">var</span><span style="color: Gray;"> </span><span style="color: Blue;">serialPortApplication</span><span style="color: Gray;"> = </span><span style="color: Green;">function</span><span style="color: Olive;">()</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">socket</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">onSocketData</span><span style="color: Gray;"> = </span><span style="color: Green;">function</span><span style="color: Olive;">(</span><span style="color: Blue;">event</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Teal;">data</span><span style="color: Gray;"> = </span><span style="color: Blue;">socket</span><span style="color: Gray;">.</span><span style="color: Blue;">readUTFBytes</span><span style="color: Olive;">(</span><span style="color: Blue;">socket</span><span style="color: Gray;">.</span><span style="color: Blue;">bytesAvailable</span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">air</span><span style="color: Gray;">.</span><span style="color: Teal;">trace</span><span style="color: Olive;">(</span><span style="color: Teal;">data</span><span style="color: Olive;">)</span><span style="color: Gray;">; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">var</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">createSocket</span><span style="color: Gray;"> = </span><span style="color: Green;">function</span><span style="color: Olive;">()</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">socket</span><span style="color: Gray;"> = </span><span style="color: Green;">new</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">air</span><span style="color: Gray;">.</span><span style="color: Teal;">Socket</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">socket</span><span style="color: Gray;">.</span><span style="color: Blue;">addEventListener</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: Blue;">air</span><span style="color: Gray;">.</span><span style="color: Blue;">ProgressEvent</span><span style="color: Gray;">.</span><span style="color: Blue;">SOCKET_DATA</span><span style="color: Gray;">, </span><span style="color: Blue;">onSocketData</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">; </span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: #ffa500;">// this is the port specified in the serial proxy config file</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">socket</span><span style="color: Gray;">.</span><span style="color: Teal;">connect</span><span style="color: Olive;">(</span><span style="color: Gray;">&nbsp;</span><span style="color: #8b0000;">'</span><span style="color: Red;">localhost</span><span style="color: #8b0000;">'</span><span style="color: Gray;">, </span><span style="color: Maroon;">5334</span><span style="color: Gray;"> </span><span style="color: Olive;">)</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Green;">return</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Teal;">run</span><span style="color: Gray;">&nbsp;&nbsp; :&nbsp;&nbsp; </span><span style="color: Green;">function</span><span style="color: Olive;">()</span><span style="color: Gray;">&nbsp;</span><span style="color: Olive;">{</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Blue;">createSocket</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; &nbsp; &nbsp; </span><span style="color: Olive;">}</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span><span style="color: Olive;">}</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp; &nbsp; </span></li>
<li><span style="color: Olive;">}()</span><span style="color: Gray;">;</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: #ffa500;">// Then....</span></li>
<li><span style="color: Gray;">&nbsp;</span></li>
<li><span style="color: Blue;">serialPortApplication</span><span style="color: Gray;">.</span><span style="color: Teal;">run</span><span style="color: Olive;">()</span><span style="color: Gray;">;</span></li></ol></div>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2010/03/20/angry-cop-psd-free-download/" title="Angry Cop PSD Free Download">Angry Cop PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angels-wings-2-psd-free-download/" title="Angels wings 2 PSD Free Download">Angels wings 2 PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angels-wings-psd-free-download/" title="Angels wings PSD Free Download">Angels wings PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-jolie-4-psd-free-download/" title="Angelina Jolie 4 PSD Free Download">Angelina Jolie 4 PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-psd-free-download-2/" title="Angelina PSD Free Download">Angelina PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-psd-free-download/" title="Angelina PSD Free Download">Angelina PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-jolie-psd-free-download-9/" title="Angelina Jolie PSD Free Download">Angelina Jolie PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-jolie-psd-free-download-8/" title="Angelina Jolie PSD Free Download">Angelina Jolie PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-jolie-psd-free-download-7/" title="Angelina Jolie PSD Free Download">Angelina Jolie PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/03/20/angelina-jolie-psd-free-download-6/" title="Angelina Jolie PSD Free Download">Angelina Jolie PSD Free Download</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/08/23/how-to-resume-download-or-accessing-serial-port-in-air-applications-via-socket/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>5+ Very Beautiful Skins for Flex Applications</title>
		<link>http://www.donotyet.com/2009/08/09/5-very-beautiful-skins-for-flex-applications/</link>
		<comments>http://www.donotyet.com/2009/08/09/5-very-beautiful-skins-for-flex-applications/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 14:58:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Skin]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.donotyet.com/2009/08/09/5-very-beautiful-skins-for-flex-applications/</guid>
		<description><![CDATA[Build a flex applications that look good right out of the box with flex 3 or 4 is easy, you can customize the look of your applications with several ways be given by Flex builder, but I think most developers hope the applications built by them will be amazing and unique. So, for getting some [...]]]></description>
			<content:encoded><![CDATA[<p>Build a flex applications that look good right out of the box with flex 3 or 4 is easy, you can customize the look of your applications with several ways be given by Flex builder, but I think most developers hope the applications built by them will be amazing and unique. So, for getting some inspiration, did you spend some days to customiuze the skin of your Flex applications but had no any inspiration? Maybe you can find many functions, classes, even libiaries for actionscript/flex easily, but take a suitable skin will be difficlut. </p>
<p>We spend some time to collect a list of beautiful skins for flex applications, hope it will be helpful for you and can save your time. </p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-129"></span> </p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBkingnareStyle_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="kingnareStyle" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBkingnareStyle_thumb.png" width="520" height="378" /></a> </p>
<p><a href="http://ntt.cc/2008/06/11/using-flexbuilder-3-and-flash-cs3-to-build-your-skin-in-flex-kingnarestyle-skin-produce-introduction.html" target="_blank"><font size="5">KingnareStyle Skin</font></a></p>
</p>
<hr />It is not only a skin for Flex applications but also a great tutorial on how to build your skin in Flex skin produce introduction. Following this introduction step by step then you can build your beautiful skin.
</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="search-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/07/search-256x256.png" width="23" height="23" /> <a href="http://ntt.cc/ext/KingnareStyle-Skin/KingnareStyle-App.html" target="_blank">Demo</a> <img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="download" src="http://www.donotyet.com/wp-content/uploads/2009/07/download.png" width="19" height="19" /> <a href="http://ntt.cc/ext/KingnareStyle-Skin/KingnareStyle_1.01beta.zip" target="_blank">Download</a></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBKingnareStyle-Skin_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="KingnareStyle-Skin" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBKingnareStyle-Skin_thumb.png" width="500" height="368" /></a> </p>
<p>&#160;</p>
<p><font size="5"><a href="http://www.fillcolors.com/post.cfm/carbon" rel="nofollow" target="_blank">Carbon</a></font></p>
</p>
<hr />Carbon is a theme that was inspired by. A light weight material used in racing motorcycles, cars, etc&#8230; It is also used in the aerospace industry, again because of its superior light weight, flexibility and strength. If you are seeing the analogy yet as it pertains to Flex carbon will be the better one for you.
</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="search-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/07/search-256x256.png" width="23" height="23" /> <a href="http://www.fillcolors.com/app/#/carbon" rel="nofollow" target="_blank">Demo</a> <img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="download" src="http://www.donotyet.com/wp-content/uploads/2009/07/download.png" width="19" height="19" /> <a href="http://www.fillcolors.com/assets/content/styles/source/carbon.zip" rel="nofollow" target="_blank">Download</a></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBCarbon_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="Carbon" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBCarbon_thumb.png" width="500" height="312" /></a> </p>
<p>&#160;</p>
<h5><font size="5"><a href="http://www.fillcolors.com/post.cfm/aqua" rel="nofollow" target="_blank">Aqua</a></font></h5>
</p>
<hr />A style inspired by Mac OSX operating system.
</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="search-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/07/search-256x256.png" width="23" height="23" /> <a href="http://www.fillcolors.com/app/aqua/" rel="nofollow" target="_blank">Demo</a> <img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="download" src="http://www.donotyet.com/wp-content/uploads/2009/07/download.png" width="19" height="19" /> <a href="http://www.fillcolors.com/assets/content/styles/source/aqua.zip" rel="nofollow" target="_blank">Download</a></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBAqua_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="Aqua" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBAqua_thumb.png" width="500" height="306" /></a> </p>
<p>&#160;</p>
<p><font size="5"><a href="http://www.fillcolors.com/post.cfm/rainbow" rel="nofollow" target="_blank">Rainbow</a></font></p>
</p>
<hr />Rainbow is a colorful and playful style. It is the first style ever created for Fill Colors and it intends to be a sample style designers can use to get ideas on what can be changed in the default Fill Colors application.
</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="search-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/07/search-256x256.png" width="23" height="23" /> <a href="http://www.fillcolors.com/app/rainbow/" rel="nofollow" target="_blank">Demo</a> <img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="download" src="http://www.donotyet.com/wp-content/uploads/2009/07/download.png" width="19" height="19" /> <a href="http://www.fillcolors.com/assets/content/styles/source/rainbow.zip" rel="nofollow" target="_blank">Download</a></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBRainbow_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="Rainbow" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBRainbow_thumb.png" width="500" height="332" /></a> </p>
<p>&#160;</p>
<h5><font size="5"><a href="http://theflashblog.com/?p=1063" rel="nofollow" target="_blank">Flex 4 Black Ops skin</a></font> </h5>
</p>
<hr />Drawed with Illustrator the basic shapes and then moved to Flash Catalyst to skin the button and scrollbars. Created the rest of the skins using Flash Builder 4.
</p>
<p><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="search-256x256" src="http://www.donotyet.com/wp-content/uploads/2009/07/search-256x256.png" width="23" height="23" /> <a href="http://theflashblog.com/?p=1063" rel="nofollow" target="_blank">Demo</a> <img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="download" src="http://www.donotyet.com/wp-content/uploads/2009/07/download.png" width="19" height="19" /> <a href="http://theflashblog.com/skins/BlackOps/BlackOps.fxp" rel="nofollow" target="_blank">Download</a></p>
<p><a href="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBBlack-Ops-skin_2.png"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" border="0" alt="Black-Ops-skin" src="http://www.donotyet.com/wp-content/uploads/2009/08/WindowsLiveWriter4VeryBeautifulSkinforFlexApplications_144BBBlack-Ops-skin_thumb.png" width="500" height="354" /></a> </p>
<p>Of course, If you&#8217;re not sure whether you want to use styling or skinning, don&#8217;t forget to try playing with the <a href="http://www.adobe.com/go/flex_styles_explorer_app" rel="nofollow" target="_blank">Flex Style Explorer</a> (requires Flash Player 9) or use Flex Builder&#8217;s Design mode to get a sense of how far you can go with styling.</p>
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/08/28/how-to-wait-or-sleep-in-flex-actionscript/" title="How to Wait or Sleep in Flex/ActionScript">How to Wait or Sleep in Flex/ActionScript</a></li>
<li><a href="http://www.donotyet.com/2009/08/15/an-example-of-how-to-load-flashpaper-in-flex/" title="An example of How to load FlashPaper in Flex(with source code)">An example of How to load FlashPaper in Flex(with source code)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/08/09/5-very-beautiful-skins-for-flex-applications/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>126 Great Adobe AIR Applications Make Your Lives Easier</title>
		<link>http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/</link>
		<comments>http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 15:41:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe]]></category>

		<guid isPermaLink="false">http://donotyet.com/?p=1</guid>
		<description><![CDATA[Adobe AIR offers an exciting new way to engage customers with innovative, branded applications, without requiring changes to existing technology, people, or processes.
Adobe AIR as a cross-operating system runtime that enables web developers to use their existing web development skills, code and tools to build and deploy rich web applications and content to the desktop.




Flexman.info [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe AIR offers an exciting new way to engage customers with innovative, branded applications, without requiring changes to existing technology, people, or processes.</p>
<p>Adobe AIR as a cross-operating system runtime that enables web developers to use their existing web development skills, code and tools to build and deploy rich web applications and content to the desktop.</p>
<div style="margin: 0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "pub-7859640280892154";
/* DoNotYet-Article-336-280-01 */
google_ad_slot = "0432827541";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
<p><span id="more-1"></span><br />
<a href="http://flexman.info/" target="_self">Flexman.info</a> collections of <a title="Permanent Link: 126 Adobe AIR Application List" rel="bookmark" href="http://flexman.info/2008/12/30/126-adobe-air-application-list/">126 Adobe AIR Application List</a> for us. Full list after jump.<a href="http://www.donotyet.com/wp-content/uploads/2009/07/adobe-air-applications.jpg"><img class="alignnone size-full wp-image-8" title="adobe-air-applications" src="http://www.donotyet.com/wp-content/uploads/2009/07/adobe-air-applications.jpg" alt="adobe-air-applications" width="500" height="400" /></a></p>
<ol>
<li><a href="http://blog.brianflove.com/articles/2008/02/19/cfdocs-on-air">CFDocs</a> by <a href="http://brianflove.com/">Web Biz</a></li>
<li><a href="http://pownce.com/download/">Pownce Desktop Client</a> by Leah Culver, Daniel Burka, Kevin Rose, Shawn Allen</li>
<li><a href="http://www.projectsandimas.com/">San Dimas</a> by eBay – A desktop interface built on top of the eBay APIs.</li>
<li><a href="http://www.philterdesign.com/blog/2007/04/apollo_widget_mxnaqube.html">mxnaQUBE</a> by Phil Chung</li>
<li><a href="http://www.mediareason.com/blog/?p=19">VEED</a> by Ben Honda-Rottler</li>
<li><a href="http://theflexblog.com/?p=19">Apollo Twitter Application</a> by Lee Brimelow</li>
<li><a href="http://www.matchmine.com/">MyMovieMatch beta</a> by <a href="http://www.matchmine.com/">matchmine</a> – A movie recommendation engine.</li>
<li><a href="http://download.macromedia.com/pub/labs/kuler/kuler_desktop_061407.air">Kuler Desktop</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://www.tweet-r.com/">Tweetr</a> by <a href="http://www.bluespark.co.nz/">Bluespark</a></li>
<li><a href="http://labs.searchcoders.com/dashboard/">SearchCoders Dashboard</a> by <a href="http://www.searchcoders.com/">Searchcoders</a></li>
<li><a href="http://studiocloud.com/preview.html">In-Studio Gallery</a> by <a href="http://studiocloud.com/">StudioCloud</a> – Studio Management Software for Photographers</li>
<li><a href="http://blog.yourminis.com/desktop/">yourminis.com Desktop Widgets</a> by <a href="http://www.yourminis.com/">goowy media, inc.</a></li>
<li><a href="http://www.finetune.com/desktop/">Finetune Desktop</a> by <a href="http://www.finetune.com/">Finetune</a> and <a href="http://www.teknision.com/">Teknision</a></li>
<li><a href="http://codepeek.futurescale.com/">CodePeek PureMVC Demo</a> by <a href="http://puremvc.org/">PureMVC</a></li>
<li><a href="http://flash-ripper.com/en/adobe-air-google-3d-map-application/">Google 3D Map 0.4</a> by <a href="http://en.flash-ripper.com/">Rostislav Siryk</a>. Utilizes PV3D and AIR HTML component to render Google Maps in 3D mode (was: <a href="http://flash-ripper.com/en/2007/sources-for-apollo-3d-test-application/">Apollo 3D Test Application</a> by rost).</li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/employeedirectory.air">Employee Directory</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/Fresh.air">Fresh</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/MapCache.air">MapCache</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/Maptacular.air">Maptacular</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/PeekAgenda.air">PeekAgenda</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/PixelPerfect.air">PixelPerfect</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/Salsa.air">Salsa</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/Scout.air">Scout</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/ScreenPlay.air">ScreenPlay</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://download.macromedia.com/pub/labs/air/sample_apps/b1/Signet.air">Signet</a> <a href="http://riadocs.com/air">air</a> by <a href="http://www.adobe.com/">Adobe</a></li>
<li><a href="http://merhl.com/?p=19">MINI DIGG</a> by Joe Johnston</li>
<li><a href="http://diggcontest.com/dlite/">D’Lite</a> by Thai Huynh</li>
<li><a href="http://www.arpitonline.com/blog/?page_id=63">DiggGraphr Desktop</a> by <a href="http://www.arpitonline.com/blog/">Arpit Mathur</a></li>
<li><a href="http://jacknboxsoftware.googlepages.com/applecareair">AppleCare Search for AIR</a> by <a href="http://jacknboxsoftware.googlepages.com/home">Jack in The Box Software, Inc.</a></li>
<li><a href="http://www.apollohunter.com/browse/detail.php?id=134&amp;PHPSESSID=95bbc7e93027faedd483debe01ae03b5">Apollo Picasa</a> by Denis V.</li>
<li><a href="http://www.airapps.net/">OnAIR</a> by Edward Mansouri</li>
<li><a href="http://www.ucompass.com/AddressBookFun/">AddressBookExtreme</a> by Edward Mansouri</li>
<li><a href="http://www.apollohunter.com/browse/detail.php?id=128&amp;PHPSESSID=fcc83ef45aaf8e5393224e1d03ddd7fe">Adobe-Announcements</a> by Razvan Andrei Surdu</li>
<li><a href="http://www.airination.info/">AIR in Flight</a> by Mike Givens</li>
<li><a href="http://www.airapps.info/">AIR Flex</a> by Mike Givens</li>
<li><a href="http://www.airapps.net/">AIR Math Quiz Bowl</a> by Mike Givens</li>
<li><a href="http://weblogs.macromedia.com/pent/MusicPlayer.air">Adobe AIR Music Player</a> <a href="http://riadocs.com/air">air</a> by Peter Ent</li>
<li><a href="http://www.airapps.net/">AIR Video Player</a> by Mike Givens</li>
<li><a href="http://www.lafabrick.com/blog/">Air’s eyes</a> by lafabrick.com</li>
<li><a href="http://www.airapps.net/">AIRTV</a> by Edward Mansouri</li>
<li><a href="http://janvarev.ru/ApolloDesktopPhotos">Apollo Desktop Photos</a> by Janvarev Vladislav</li>
<li><a href="http://www.clevr.com/blog/air-stitcher/">CleVR Stitcher</a> by Sphex LLP – panoramic photo stitcher</li>
<li><a href="http://www.gskinner.com/DiggTop">DiggTop</a> by <a href="http://gskinner.com/">gskinner.com</a></li>
<li><a href="http://www.web-applications.ch/">EarthStats</a> by Xe-Media</li>
<li><a href="http://www.airapps.net/">Educator Desktop</a> by Edward Mansouri</li>
<li><a href="http://enrich.ucompass.com/emansouri@airapps.net/FlexManiacs.zip">FlexManiacs</a> by Edward Mansouri</li>
<li><a href="http://www.ashwineedash.com/template_permalink.asp?id=137">Flickrin</a> by Ashwinee Dash</li>
<li><a href="http://blog.everythingflex.com/">FotoBooth</a> by Rich Tretola</li>
<li><a href="http://labs.adobe.com/wiki/index.php/AIR:Articles:Using_HTML_in_Flex-based_Apollo_Applications">HTMLExample</a> by Edward Mansouri</li>
<li><a href="http://merhl.com/?p=29">iPhone</a> by by Joe Johnston</li>
<li><a href="http://www.limitlessquest.com/">Limitless Quest</a> by Andrew Wooldridge</li>
<li><a href="http://labs.insideflex.com/">MAX 2007 Countdown</a> by Mike Givens</li>
<li><a href="http://www.miieditor.com/">Mii Editor</a> by MiiEditor.com</li>
<li><a href="http://www.airapps.net/">Model Selector</a> by Kaushik Datta</li>
<li><a href="http://www.brandonellis.org/">MonitR</a> by Brandon Ellis</li>
<li><a href="http://www.ucompass.com/MyVacation">MyVacation</a> by Edward Mansouri</li>
<li><a href="http://www.nielsbruin.nl/blog/?p=125">NabAIR</a> by Niels Bruin</li>
<li><a href="http://www.onyx-vj.com/demo2/">Onyx-VJ</a> by Onyx-VJ</li>
<li><a href="http://www.airapps.net/">Project Tracker</a> by Jacob Wright</li>
<li><a href="http://www.after6ix.net/">Qurl</a><a href="http://www.opony.net/">Opony</a> by Ronnie Liew</li>
<li><a href="http://www.flex-fanatic.com/?page_id=35">scripKeepR</a> by Chris Seahorn</li>
<li><a href="http://www.airapps.net/">Spirograph</a> by Kaushik Datta</li>
<li><a href="http://www.airapps.net/">test-browser</a> by saumya ray</li>
<li><a href="http://www.flex-fanatic.com/?page_id=30">toteNpost</a> by Chris Seahorn</li>
<li><a href="http://www.tweet-r.com/">Tweetr</a> by Bluespark Interactive</li>
<li><a href="http://theflexblog.com/?p=33">TwittAIR</a> by theflexblog</li>
<li><a href="http://www.trajiklyhip.com/blog/index.cfm/2007/7/2/Yet-Another-TwitterAIR-Application-Released">twitterAIR</a> by Aaron West</li>
<li><a href="http://www.airapps.net/">Vehicle Comparison</a> by Kaushik Datta</li>
<li><a href="http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application">WebSnapshot</a> by Daniel Wanja</li>
<li><a href="http://jacknboxsoftware.googlepages.com/applecareair">AppleCare Search</a> for AIR by <a href="http://jacknboxsoftware.googlepages.com/home">Jack in the Box Software</a></li>
<li><a href="http://www.danieldura.com/code/twittercamp/">TwitterCamp</a> by <a href="http://www.danieldura.com/">Daniel Dura</a> – A Twitter display application.</li>
<li><a href="http://onair.adobe.com/blogs/tour/2007/07/16/twitteraircamp-released/">TwitterAirCamp</a> by on <a href="http://onair.adobe.com/">AIR Bus Tour</a> – A modified version of TwitterCamp to display tweets to @onairbustour.</li>
<li><a href="http://onair.adobe.com/blogs/tour/2007/07/18/the-on-air-bus-tour-chat-application/">AIRChat</a> by <a href="http://onflex.org/">Ted Patrick</a> – Chat with the on AIR Bus tour while watching the live video feed.</li>
<li><a href="http://www.jamesward.org/wordpress/2007/07/24/tutorial-salesforcecom-on-air-with-flex-3/">Salesforce.com – simple AIR app</a> by <a href="http://www.jamesward.org/">James Ward</a> – A step by step tutorial for using the Flex Toolkit for Apex with AIR</li>
<li><a href="http://www.uza.lt/applications/admetus/">Admetus</a> by Paulius Uza</li>
<li><a href="http://www.uza.lt/applications/paperpreview/">PaperPreview</a> by Paulius Uza</li>
<li><a href="http://sozes.wordpress.com/">Yahoo Answers</a> by Justin Imhoff</li>
<li><a href="http://www.aboutnico.be/index.php/analytics-widget/">Google Analytics widget</a> by Nicolas Lierman</li>
<li><a href="http://www.dgrigg.com/post.cfm/03/26/2007/Apollo-Photo-Mosaic">Photo Mosaic</a> by Derrick Grigg – Allows you to create photo mosaics of images.</li>
<li><a href="http://www.fdeshayes.net/index.php?2007/06/13/124-nouvelle-application-adobe-air-multi-widgets">MultiWidgets</a> by <a href="http://www.fdeshayes.net/">Fabien Deshayes</a> (fr)</li>
<li><a href="http://www.onebyonedesign.com/downloads/fplayer/fPlayer.zip">OBO F-Player</a> <a href="http://riadocs.com/air">air</a> .flv player + youtube .flv file downloader from <a href="http://www.onebyonedesign.com/">onebyonedesign</a>. <a href="http://www.onebyonedesign.com/downloads/fplayer/screen.jpg">Screenshot</a>.</li>
<li><a href="http://blog.onlinelib.de/">Crypt Studio</a> Alpha. Allows you to load,crypt and save jpg´s with AIR / AES Encryption and Reload it with with Flex Webloader – by <a href="http://onlinelib.de/">Gary / Onlinelib</a></li>
<li><a href="http://www.zeuslabs.us/2007/03/20/introducing-torrent-utility-an-apollo-application/">TorrentUtility</a> by <a href="http://www.zeuslabs.us/">Josh Tynjala</a></li>
<li><a href="http://onair.adobe.com/blogs/tour/2007/08/09/new-air-app-flump-flickr-dump/">flump</a> Simple Flickr image download utility. by <a href="http://www.mikechambers.com/blog/">Mike Chambers</a> and <a href="http://theflexblog.com/">Lee Brimelow</a></li>
<li><a href="http://code.google.com/p/wowheadlauncher/">Wowhead Launcer</a> Simple utility for launching searches about World of Warcraft into <a href="http://www.wowhead.com/">Wowhead.com</a>. Created by <a href="http://www.mikechambers.com/blog/">Mike Chambers</a></li>
<li><a href="http://expertria.com/index.php/airtalkr">AirTalkr</a> by Hu Shunjie. Instant Messenger Application that connects to MSN, Yahoo!, ICQ, AIM, GTalk, as well as Flickr and YouTube, You can also view your Buddies latest blog entries, twitters, mySpace profile, Flickr photos and friendster profile using AirTalkr’s profile card ‘AirCard’. AirTalkr now at <a href="http://airtalkr.com/">http://airtalkr.com</a></li>
<li><a href="http://expertria.com/index.php/icicle">Icicle</a> by Hu Shunjie. Access your Box.net online storage with Icicle</li>
<li><a href="http://labs.connectsolutions.com/">MeetingPulse</a> by <a href="http://www.connectsolutions.com/">ConnectSolutions</a>. Monitor your Adobe Acrobat Connect Professional meetings from your desktop.</li>
<li><a href="http://coderseye.com/2007/weewar-air-status-notifier.html">Weewarify</a> by <a href="http://www.solidsitesolutions.com/">Bruce Kroeze</a>. Monitor your game status in <a href="http://weewar.com/?referrer=Invoke">Weewar</a> – This is written using HMTL/CSS/ExtJS</li>
<li><a href="http://www.mikehuntington.com/techblog/index.php/airwaves/">FUZE</a> Instant Messenger by <a href="http://www.mikehuntington.com/techblog/">Mike Huntington</a> – FUZE is a light weight instant messenger that allows access to AOL, Yahoo, GTalk, MSN, ICQ, IRC, and Facebook services.</li>
<li><a href="http://snippage.gabocorp.com/">Snippage</a> by <a href="http://gabocorp.com/">Gabo Mendoza</a> – Easily make desktop widgets out of parts of any website.</li>
<li><a href="http://www.rev-in.com/tools/toggler/">Toggler</a> by Ian Turgeon – A free desktop interface to the free Toggl Time Tracking software</li>
<li><a href="http://blog.hexagonstar.com/downloads/feat/">FEAT</a> by Hexagon Star Softworks – Freelancer’s Estimation Assistance Tool. A tool for freelancers to calculate hourly rates and pricing estimations</li>
<li><a href="http://agileui.blogspot.com/2007/08/klok-formerly-known-as-timetracker.html">Klok</a> by <a href="http://agileui.blogspot.com/">Rob McKeown</a> (<a href="http://www.mcgraphix.com/">mcgraphix</a>) – Klok is a personal time tracking application to facilitate recording time spent on projects/tracks featuring drag and drop, calendar view and reporting</li>
<li><a href="http://www.biffcom.com/twitter">Twinja</a> by <a href="http://www.biffcom.com/twitter">Biffer Rowley</a>- A Twitter client built in Flash, running on AIR. Allows you to communicate with your Twitter friends directly from your desktop. Refreshes your message list every 2 minutes. Works on both Mac &amp; PC. [<a href="http://www.biffcom.com/twitter/TwinjaAIR.air">.air</a>]</li>
<li><a href="http://flash.fincanon.com/archives/124">vizX</a><a href="http://www.osdir.pl/">OsDir</a> by <a href="http://flash.fincanon.com/">Jason Fincanon</a> – vizX is a visual XML editor which displays nodes in a tree structure on the left while details of the selected node are displayed on the right.</li>
<li><a href="http://flashinyourface.com/?page_id=57">Duty Juke</a> by <a href="http://www.flashinyourface.com/">Chris Long</a> – Duty Juke is a kick-ass mp3 player. It will bring both style and meaning to your life.</li>
<li><a href="http://www.redbugtool.com/">REDbug</a> by <a href="http://www.realeyesmedia.com/">RealEyes Media</a> – The RED|bug debugging console makes debugging your Flash, Flex, or <abbr>AIR</abbr> applications much easier.</li>
<li><a href="http://members.cox.net/dean-mckee/">NetBook</a> by Dean McKee – An e-book browser/reader/organizer of the Gutenberg Project free book library that manages local cached copies, allows offline reading, and audio book listening.</li>
<li><a href="http://areyouwatchingthis.com/widgets/desktop">RUWT? Sports</a> by <a href="http://www.ruwtbot.com/">RUWTbot</a> – Uses the RUWT? API to help you find the next instant classic in the making. RUWTbot’s algorithms will let you know when you need to drop everything and get your butt on the couch post-haste.</li>
<li><a href="http://www.badu.ro/badu/wordpress/air/Lines.air">Lines Game</a> by <a href="http://www.badu.ro/">Badu</a> – strategy game will make you think and concentrate for hours if you accept the challenge!</li>
<li><a href="http://www.wickedstickies.com/">Wicked Stickies</a> by <a href="mailto:tony.hillerson@effectiveui.com">Tony Hillerson</a> – It’s <a href="http://en.wikipedia.org/wiki/Getting_things_done">GTD</a> meets AIR. Simple, but helpful, Wicked Stickies is like sticky apps you may have used, but with a few more features, like todos (something I’ve always wanted on stickies) and the ability to send stickies to friends. Currently in Beta.</li>
</ol>
<p>102. <a href="http://www.digimix.com/">DigiMix </a>- by Alan Queen – aqueen@gmail.com – Multitrack audio editor/mixer. Import/Export .wav, aif files. Bounce your project down to .wav files. Mix it Up! Bounce it Down!</p>
<p>103. <a href="http://www.airapps.net/?passThrough=AppUploader">AppUploader</a> – by Edward Mansouri of AIRApps.net – Drag and drop your AIR applications from the desktop to the AIRApps.net gallery</p>
<p>104. <a href="http://www.flex-fanatic.com/index.php?page=227">Media Bandit 2</a> (.FLV Harvester) – by Chris Seahorn – Media Bandit allows you to search Blip TV, Google Video, Yahoo and YouTube individually or in unison for Flash .flv files to preview and download.</p>
<p>105. <a href="http://www.flex-fanatic.com/index.php?page=222">scripKeepR v2</a> – by Chris Seahorn – v2 is the full screen version of scripKeepR and has other various improvements over the original.</p>
<p>106. <a href="http://www.agileagenda.com/">Agile Agenda</a> – by Marc Hughes – A project scheduling application.</p>
<p>107. <a href="http://www.zeropointnine.com/blog/webcam-dvr-for-apollo">Webcam Digital Video Recorder</a> – by Lee Felarca – Record webcam video and export to FLV. Better yet, rewind and fast-forward video in realtime while recording.</p>
<p>108. <a href="http://www.airapps.net/?passThrough=AIRAppsMall&amp;appNumber=248">AIRPhone</a> – by Edward Mansouri – A simple application that is my first effort of building an app powered by the Ribbit Phone Component. Make 10 minutes of calls .</p>
<p>109. <a href="http://www.airpress.org/">AIRPress</a> – by Romain Lefebvre – A blog editor for Wordpress / dotClear that can create “rich” posts (with pictures, sounds, flv videos, webcam recorded video, flash animation…).</p>
<p>110. <a href="http://www.knowtes.com/">Knowtes</a> – by Shaun Halberstadt – Knowtes is an flashcard-based study community where users create, study, and share decks of flashcards. The libraries (interfaces) are developed with Flex and Air and are highly personalizable. The desktop library includes drag and drop from the desktop, a music jukebox, a web screenshot/image grabber, and automatic updates.</p>
<p>111. <a href="http://www.mooflair.com/">mooFlair</a> – by Patrick Tai – More than a simple flv video player, build your own FLV library and save your compilations in playlists. Import directly FLVs from your computer, browse categorised RSS Feeds or search directly from the most popular video content providers to add new content to your searchable library. If you need to watch all your videos off line you can simply use the download option.</p>
<p>112. <a href="http://mentalecho.com/portViewer.html">Portfolio Viewer</a> – Portfolio Viewer is a free alternative to the investment tracking features of Quicken and Microsoft Money. It offers tracking of stock/fund/cash investments in one or more portfolios with performance and allocation charts. Get started quickly by importing investments in Quicken/Microsoft Money/Excel formats.</p>
<p>113. <a href="http://dsanvita.googlepages.com/">AIRNews</a> – RSS/Atom news reader that caches articles locally to SQLite</p>
<p>114. <a href="http://dsanvita.googlepages.com/">AIRWar</a> – The classic card game of War!</p>
<p>115. <a href="http://dsanvita.googlepages.com/">Flair</a> – Flickr explorer with offline favorites and tag/user search</p>
<p>116. <a href="http://tech.boradev.com/?page_id=5">AirWaves TV Guide</a> – A TV guide for the UK. Select required channels, see whats on for the next 2 weeks, set up favourites and get reminders, vertical program view or traditional horizontal EPG view. Still under development but the current version is pretty solid. Transparent windows, minimise to tray, stay on top alerts, auto updater. Now updated for AIR 1.0 release. Also, now open source under the GPL.</p>
<p>117. <a href="http://www.flex-fanatic.com/index.php?page=231">Sync Local SQLite DB with online MySQL DB </a>- by Chris Seahorn – This is released code from an earlier download of mine at Flex Fanatic. Shows simple full sync and includes example mysql dump, php backend and Flex3/Air Beta 2 source.</p>
<p>118. <a href="http://www.frozenmodule.com/APM/APM.air">\”AIR\” Password Manager suite</a> – by <a href="http://www.frozenmodule.com/">FrozenModule</a> – Password Manager suite is an Adobe® AIR™ Marketplace application which helps you to manage your passwords in a secure way. You can store all your passwords in one secure place and access it whenever you need with one master password. Supports multiple user accounts. Secured with Advanced Encryption Standard (AES). Works both with and without internet connection (in case when internet connection is found it provides auto-update feature).</p>
<p>119. <a href="http://www.twhirl.org/">twhirl</a> – A multi-account Twitter desktop client running on Flex / AIR. Auto-updates tweets, send updates, replies and direct messages, see your friends and followers. Remembers your login names and passwords and can auto-connect you on start-up.</p>
<p>120. <a href="http://www.tongits.net/">Tongits</a> – by <a href="http://ricoonflex.wordpress.com/">Rico Zuniga</a> – A 3 player card game similar to gin rummy that originated from the Philippines. You play against 2 computer controlled players with very challenging AI.</p>
<p>121. <a href="http://colorpicker.riaforge.org/">colorPicker</a> – A widget-like AIR application that lets you either choose a “web-safe” color from a color grid or design a color using sliders to adjust the red, green, and blue values of the color, then copy that color to the clipboard.</p>
<p>122. <a href="http://spreadingfunkyness.com/posty/">Posty</a> – A microblogging application which allows to post the same message with one click to Twitter, Jaiku, Pownce and Tumblr. Posty includes also browsing personal/public notes and note replying.</p>
<p>123. <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;loc=en_us&amp;extid=1449018">TurnAbout</a> – TurnAbout is an addictive game of strategy based on an electronic puzzle game released in ‘95, Lights Out!</p>
<p>124. <a href="http://www.radiostar.it/blog/widget-radiostartv">RadiostarTV</a> – <a href="http://riadocs.com/RadiostarTv">RadiostarTv</a> widget – View webtv !</p>
<p>125. <a href="http://www.riaforge.co.uk/go/flvplay">FLVPlay</a> – Search, play and download YouTube videos on your desktop.</p>
<p>125. <a href="http://code.google.com/p/readair/">ReadAir</a> – A Google Reader desktop client</p>
<p>126. <a href="http://gotcha.tapdat.org/">Gotcha</a> – Force your friends’ webcams to snap their picture and upload them to their Zannel account for the whole world to see, and they can do the same to you.</p>
<p><strong>Other resources:</strong></p>
<p><a href="http://ntt.cc/2009/03/07/over-25-very-cool-adobe-air-flex-applications-for-images-and-photos.html">25+ Very Cool Adobe AIR/Flex Applications for Images &amp; Photos</a><a title="Permanent Link to Top 7 Adobe AIR Apps for Videos you should know" rel="bookmark" href="http://ntt.cc/2009/07/04/top-7-adobe-air-apps-for-videos-you-should-know.html"></a></p>
<p><a title="Permanent Link to Top 7 Adobe AIR Apps for Videos you should know" rel="bookmark" href="http://ntt.cc/2009/07/04/top-7-adobe-air-apps-for-videos-you-should-know.html">Top 7 Adobe AIR Apps for Videos you should know</a></p>
<p>Enjoy!<br />
<h3>Related Posts</h3>
<ul class="related_post">
<li><a href="http://www.donotyet.com/2009/10/05/adobe-air-source-line-count-with-source-code/" title="Adobe AIR Source Line Count(with source code)">Adobe AIR Source Line Count(with source code)</a></li>
<li><a href="http://www.donotyet.com/2009/09/18/how-to-render-pdf-content-in-air-with-source-code/" title="How to Render PDF Content in AIR(With Source Code)">How to Render PDF Content in AIR(With Source Code)</a></li>
<li><a href="http://www.donotyet.com/2011/05/09/adobe-photoshop-tutorial-for-beginners-get-started-guide/" title="Adobe Photoshop Tutorial for Beginners: Get Started Guide">Adobe Photoshop Tutorial for Beginners: Get Started Guide</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-products-psd-free-download/" title="ADOBE Products PSD Free Download">ADOBE Products PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-logo-psd-free-download/" title="Adobe Photoshop CS3 Logo PSD Free Download">Adobe Photoshop CS3 Logo PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-photoshop-cs3-extended-psd-free-download/" title="Adobe Photoshop CS3 Extended PSD Free Download">Adobe Photoshop CS3 Extended PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-logo-xl-psd-free-download/" title="Adobe Logo XL PSD Free Download">Adobe Logo XL PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2010/01/28/adobe-boxes-psd-free-download/" title="ADOBE BOXES PSD Free Download">ADOBE BOXES PSD Free Download</a></li>
<li><a href="http://www.donotyet.com/2009/11/08/how-to-speed-up-in-adobe-photoshop-using-27-shortcut-keys/" title="How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys">How to Speed up in Adobe PhotoShop &ndash; Using 27 Shortcut Keys</a></li>
<li><a href="http://www.donotyet.com/2009/11/07/add-depth-of-field-to-perk-up-dull-photos-in-adobe-photoshop/" title="Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop">Add Depth of Field to Perk up Dull Photos in Adobe PhotoShop</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.donotyet.com/2009/07/22/126-great-adobe-air-applications-make-your-lives-easier/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

