<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/atom10full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" xml:lang="en" xml:base="http://www.mikechambers.com/blog/wp-atom.php">
	<title type="text">Mike Chambers</title>
	<subtitle type="text">code = joy</subtitle>

	<updated>2008-07-17T23:55:24Z</updated>
	<generator uri="http://wordpress.org/" version="2.5.1">WordPress</generator>

	<link rel="alternate" type="text/html" href="http://www.mikechambers.com/blog" />
	<id>http://www.mikechambers.com/blog/feed/atom/</id>
	

			<link rel="self" href="http://feeds.feedburner.com/MikeChambersAtom" type="application/atom+xml" /><entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Adobe AIR based eBay Desktop hits 1 Million downloads]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/338502639/" />
		<id>http://www.mikechambers.com/blog/?p=1257</id>
		<updated>2008-07-17T23:55:24Z</updated>
		<published>2008-07-17T23:55:24Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[Read about it here and here.
Congrats to the eBay team that worked on this.
]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/07/17/adobe-air-based-ebay-desktop-hits-1-million-downloads/">&lt;p&gt;Read about it &lt;a href="http://desktop.ebay.com/blog/?p=18"&gt;here&lt;/a&gt; and &lt;a href="http://ebayinkblog.com/2008/07/17/ebay-desktop-turns-1-million-steve-jobs-likes-meat-and-potatoes-ebay-iphone-app/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Congrats to the eBay team that worked on this.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/338502639" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/07/17/adobe-air-based-ebay-desktop-hits-1-million-downloads/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/07/17/adobe-air-based-ebay-desktop-hits-1-million-downloads/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/07/17/adobe-air-based-ebay-desktop-hits-1-million-downloads/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[ADT Error Codes]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/335235332/" />
		<id>http://www.mikechambers.com/blog/?p=1256</id>
		<updated>2008-07-14T16:36:41Z</updated>
		<published>2008-07-14T16:36:41Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[Just a quick fyi, but we have just posted a technote with a list of error codes and their meaning from the ADT tool (inside the Adobe AIR SDK).
You can find the technote here.
]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/07/14/adt-error-codes/">&lt;p&gt;Just a quick fyi, but we have just posted a technote with &lt;a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb404054"&gt;a list of error codes and their meaning from the ADT&lt;/a&gt; tool (inside the Adobe AIR SDK).&lt;/p&gt;
&lt;p&gt;You can find the technote &lt;a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb404054"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/335235332" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/07/14/adt-error-codes/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/07/14/adt-error-codes/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/07/14/adt-error-codes/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Updated turl : command line url shortener (with bit.ly support)]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/331884368/" />
		<id>http://www.mikechambers.com/blog/?p=1255</id>
		<updated>2008-07-10T16:55:04Z</updated>
		<published>2008-07-10T16:55:04Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[Just a quick note, but I update turl last night. turl is a command line tool for Mac OS X that uses online services to shorten urls. 
There are a couple of minor changes, but the main new feature is that I added support for bit.ly. Here are the changes:

Added support for bit.ly
Made bit.ly service [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/07/10/updated-turl-command-line-url-shortener-with-bitly-support/">&lt;p&gt;Just a quick note, but I update &lt;a href="http://code.google.com/p/turl/"&gt;turl&lt;/a&gt; last night. turl is a command line tool for Mac OS X that uses online services to shorten urls. &lt;/p&gt;
&lt;p&gt;There are a couple of minor changes, but the main new feature is that I added support for bit.ly. Here are the changes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added support for bit.ly&lt;/li&gt;
&lt;li&gt;Made bit.ly service default (urltea appears to be down / gone)&lt;/li&gt;
&lt;li&gt;Add some error checking to make sure a URL is returned&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can download turl, and the source from &lt;a href="http://code.google.com/p/turl/"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/331884368" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/07/10/updated-turl-command-line-url-shortener-with-bitly-support/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/07/10/updated-turl-command-line-url-shortener-with-bitly-support/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/07/10/updated-turl-command-line-url-shortener-with-bitly-support/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Adobe AIR / Firefox issue on Vista]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/331202057/" />
		<id>http://www.mikechambers.com/blog/?p=1254</id>
		<updated>2008-07-09T23:25:36Z</updated>
		<published>2008-07-09T23:11:46Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[One of the issue mentioned in our the Adobe AIR 1.1 release notes is an issue where Firefox is not used as the default web browser on Vista. From the technote:

On Windows Vista, web pages opened from AIR applications (this is done by calling the navigateToURL() method) may not open the default browser; it always [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/07/09/adobe-air-firefox-issue-on-vista/">&lt;p&gt;One of the issue mentioned in our the Adobe AIR 1.1 release notes is an issue where &lt;a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403978&amp;#038;sliceId=1#E4"&gt;Firefox is not used as the default web browser on Vista&lt;/a&gt;. From the technote:&lt;br /&gt;
&lt;span id="more-1254"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;On Windows Vista, web pages opened from AIR applications (this is done by calling the navigateToURL() method) may not open the default browser; it always opens Internet Explorer. To workaround this problem, go to Start &gt; Default Programs &gt; Set Program Access and Computer Defaults. Expand the Custom section, select the option next to the application you want to set as the system-wide default browser (for example, Mozilla Firefox), and then click OK.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;As the note mentions, this is an issue on Vista. We are working on narrowing down the issue, and it looks like it has something to do with some changes around registry settings in Vista.&lt;/p&gt;
&lt;p&gt;If you have run into the issue, could you take a second and answer the following questions in the comments:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Are you running on Vista?&lt;/li&gt;
&lt;li&gt;Are you running with admin privledges?&lt;/li&gt;
&lt;li&gt;Do you have UAC (Universal Access control) enabled?&lt;/li&gt;
&lt;li&gt;Is Firefox set as your default browser?&lt;/li&gt;
&lt;li&gt;If you go to a command prompt and type &amp;#8220;start http://www.google.com&amp;#8221;, which browser opens?&lt;/li&gt;
&lt;li&gt;Are you running on Firefox 3&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This will help us confirm what we think the issue is (as well as whether it is an AIR, Mozilla and / or Vista issue).&lt;/p&gt;
&lt;p&gt;Ill update the post as I get more info. Also, please keep the comments on topic for this post.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/331202057" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/07/09/adobe-air-firefox-issue-on-vista/#comments" thr:count="16" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/07/09/adobe-air-firefox-issue-on-vista/feed/atom/" thr:count="16" />
		<thr:total>16</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/07/09/adobe-air-firefox-issue-on-vista/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[as3corelib update]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/325061437/" />
		<id>http://www.mikechambers.com/blog/?p=1253</id>
		<updated>2008-07-02T17:35:58Z</updated>
		<published>2008-07-02T17:35:58Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[One of the ActionScript 3 libraries that I use in just about every project I work on is the as3corelib library. This is an ActionScript 3 library that contains a lot of useful APIs for working with AS3.
I am planning to do some more work the library this week. I spent the morning scrubbing and [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/07/02/as3corelib-update/">&lt;p&gt;One of the ActionScript 3 libraries that I use in just about every project I work on is the &lt;a href="http://code.google.com/p/as3corelib/"&gt;as3corelib library&lt;/a&gt;. This is an ActionScript 3 library that contains a lot of useful APIs for working with AS3.&lt;/p&gt;
&lt;p&gt;I am planning to do some more work the library this week. I spent the morning scrubbing and fixing some bugs, and plan to fix more issues, as well as generate new docs and a new SWC.&lt;/p&gt;
&lt;p&gt;So, if you have any bugs, issues, or feature requests for the library, &lt;a href="http://code.google.com/p/as3corelib/issues/list"&gt;please log them on the project site&lt;/a&gt; as soon as possible.&lt;/p&gt;
&lt;p&gt;If you have questions about the library, then check out the &lt;a href="http://groups.google.com/group/as3corelib"&gt;as3corelib mailing list&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/325061437" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/07/02/as3corelib-update/#comments" thr:count="5" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/07/02/as3corelib-update/feed/atom/" thr:count="5" />
		<thr:total>5</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/07/02/as3corelib-update/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Open Review : Getting Started with AIR Chapter]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/323559301/" />
		<id>http://www.mikechambers.com/blog/?p=1252</id>
		<updated>2008-06-30T21:58:29Z</updated>
		<published>2008-06-30T21:58:29Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[I have posted chapter 2 of the Adobe AIR for Flex Developers Pocketguide on tostring.org. The chapter is titled Getting Started with Adobe AIR Development and covers (from the chapter):


     Installing Adobe AIR
 

     Configuring the Flex SDK and command-line tools
 

     Creating [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/06/30/open-review-getting-started-with-air-chapter/">&lt;p&gt;I have posted chapter 2 of the &lt;a href="http://www.tostring.org/books/adobe-air-for-flex-developers-pocketguide/"&gt;Adobe AIR for Flex Developers Pocketguide&lt;/a&gt; on tostring.org. The chapter is titled &lt;a href="http://www.tostring.org/books/adobe-air-for-flex-developers-pocketguide/0.85/en/getting-started-with-adobe-air-development/"&gt;Getting Started with Adobe AIR Development&lt;/a&gt; and covers (from the chapter):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
     Installing Adobe AIR
 &lt;/li&gt;
&lt;li&gt;
     Configuring the Flex SDK and command-line tools
 &lt;/li&gt;
&lt;li&gt;
     Creating your first AIR application with the Flex SDK and Flex Builder 3
 &lt;/li&gt;
&lt;li&gt;
     Testing AIR applications
 &lt;/li&gt;
&lt;li&gt;
     Signing, packaging, and deploying AIR applications
 &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is just a draft chapter (.85) and I am looking for any comments, input, questions or suggestions on the chapter. If you have any input, just leave a comment on the &lt;a href="http://www.tostring.org/books/adobe-air-for-flex-developers-pocketguide/0.85/en/getting-started-with-adobe-air-development/"&gt;chapter page&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/323559301" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/06/30/open-review-getting-started-with-air-chapter/#comments" thr:count="0" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/06/30/open-review-getting-started-with-air-chapter/feed/atom/" thr:count="0" />
		<thr:total>0</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/06/30/open-review-getting-started-with-air-chapter/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Adobe AIR 1.1 Release Notes in HTML]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/323401876/" />
		<id>http://www.mikechambers.com/blog/?p=1251</id>
		<updated>2008-06-30T17:39:26Z</updated>
		<published>2008-06-30T17:39:14Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[Just a quick note, but we have posted the Adobe AIR 1.1 Release Notes in HTML. Previously they were only available via PDF.
There is a lot of useful and important information in the release notes about developing in AIR 1.1, so make sure to check them out.
]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/06/30/adobe-air-11-release-note-in-html/">&lt;p&gt;Just a quick note, but we have posted the &lt;a href="http://www.adobe.com/go/kb403978"&gt;Adobe AIR 1.1 Release Notes&lt;/a&gt; in HTML. Previously they were only available via PDF.&lt;/p&gt;
&lt;p&gt;There is a lot of useful and important information in the release notes about developing in AIR 1.1, so make sure to &lt;a href="http://www.adobe.com/go/kb403978"&gt;check them out&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/323401876" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/06/30/adobe-air-11-release-note-in-html/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/06/30/adobe-air-11-release-note-in-html/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/06/30/adobe-air-11-release-note-in-html/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Introducing tostring.org : AIR / Flash Player / RIA books online]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/318356438/" />
		<id>http://www.mikechambers.com/blog/?p=1250</id>
		<updated>2008-06-23T20:41:07Z</updated>
		<published>2008-06-23T20:32:11Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[Prior to the release of Adobe AIR 1.0, I worked on two books about Adobe AIR (then know by its code name of &#8220;Apollo&#8221;). The books, &#8220;Adobe Integrated Runtime for JavaScript Developers Pocketguide&#8221; and &#8220;Apollo for Adobe Flex Developers Pocketguide&#8221; provided an introduction to Adobe AIR, and all of the information a developer would need [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/06/23/introducing-tostringorg-air-flash-player-ria-books-online/">&lt;p&gt;Prior to the release of Adobe AIR 1.0, I worked on two books about Adobe AIR (then know by its code name of &amp;#8220;Apollo&amp;#8221;). The books, &amp;#8220;Adobe Integrated Runtime for JavaScript Developers Pocketguide&amp;#8221; and &amp;#8220;Apollo for Adobe Flex Developers Pocketguide&amp;#8221; provided an introduction to Adobe AIR, and all of the information a developer would need to get over the hump of developing for Adobe AIR.&lt;/p&gt;
&lt;p&gt;In addition to being published by O&amp;#8217;Reilly, we released both books online under a Creative Commons license. We were not sure what effect, if any this would have on the book or community, but were pleasantly surprised when the community began to translate and republish the books online in different languages (including Russia, French and Japanese).&lt;br /&gt;
&lt;span id="more-1250"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://www.tostring.org/"&gt;Introducing tostring.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When I began to work on the updated &amp;#8220;Adobe AIR for JavaScript Developers Pocketguide&amp;#8221; for Adobe AIR 1.0, I wanted to provide a way to help support anyone in the community who wanted to give back to the community by translating the books. Well, I am happy to announce a new site that I have been working on called &lt;a href="http://www.tostring.org"&gt;tostring.org&lt;/a&gt;, which in addition to containing the entire &lt;a href="http://www.tostring.org/books/adobe-air-for-javascript-developers-pocketguide/"&gt;Adobe AIR for JavaScript Developers Pocketguide&lt;/a&gt; online, also provides an infrastructure for the community to contribute to the books, both through hosting translated versions of the books, as well as allowing comments on individual chapters.&lt;/p&gt;
&lt;p&gt;The first chapter of the book has already been translated to German, and there are community members working on translating the book to Swedish and Polish.&lt;/p&gt;
&lt;p&gt;The site is still in beta as I work out some kinks, and clean up the CSS, but it is pretty much fully functional now. I plan to start converting and posting the &amp;#8220;Apollo for Adobe Flex Developers Pocketguide&amp;#8221; to the site, and then updating it to AIR 1.1. After that, I am thinking about publishing some mini books on the site that do deep dives into specific AIR and Flash Player APIs and functionality.&lt;/p&gt;
&lt;p&gt;Why does this matter to you? Well, if you dont care about Adobe AIR, RIAs or the Flash Platform, then it probably doesn&amp;#8217;t. But, at a minimum, it now makes it easier to reference / search the book content online. In addition, if you find an issue, or something isn&amp;#8217;t clear, you can leave a comment on the chapter to clarify or get clarification.&lt;/p&gt;
&lt;p&gt;However, the thing I am most excited about is the potential to start getting more content localized and translated into non-English languages. If you are interested in translating a chapter into a non-English language, then check out &lt;a href="http://www.tostring.org/translating/"&gt;the translating page on the site&lt;/a&gt;, which describes how to translate a chapter.&lt;/p&gt;
&lt;p&gt;Note, that all content on the site is released under &lt;a href="http://www.creativecommons.org"&gt;Creative Commons licenses&lt;/a&gt;, which in essence means that this is the community&amp;#8217;s site, and the books are the community&amp;#8217;s books. Hopefully, this will help support the community, and generate all around better resources for developers.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.tostring.org/"&gt;Visit tostring.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Leave any comments, questions, suggestions or offers of help in the comments.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/318356438" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/06/23/introducing-tostringorg-air-flash-player-ria-books-online/#comments" thr:count="10" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/06/23/introducing-tostringorg-air-flash-player-ria-books-online/feed/atom/" thr:count="10" />
		<thr:total>10</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/06/23/introducing-tostringorg-air-flash-player-ria-books-online/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Fun with a Flip Cam and a Train Toilet]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/312983080/" />
		<id>http://www.mikechambers.com/blog/?p=1249</id>
		<updated>2008-06-16T12:07:53Z</updated>
		<published>2008-06-16T12:07:53Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[View the video here.
]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/06/16/fun-with-a-flip-cam-and-a-train-toilet/">&lt;p&gt;View the video &lt;a href="http://www.youtube.com/watch?v=BpuD3fKC4LQ"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/312983080" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/06/16/fun-with-a-flip-cam-and-a-train-toilet/#comments" thr:count="1" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/06/16/fun-with-a-flip-cam-and-a-train-toilet/feed/atom/" thr:count="1" />
		<thr:total>1</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/06/16/fun-with-a-flip-cam-and-a-train-toilet/</feedburner:origLink></entry>
		<entry>
		<author>
			<name>mikechambers</name>
						<uri>http://www.mikechambers.com</uri>
					</author>
		<title type="html"><![CDATA[Base64 Encoding and Decoding in JavaScript in Adobe AIR]]></title>
		<link rel="alternate" type="text/html" href="http://feeds.feedburner.com/~r/MikeChambersAtom/~3/310681221/" />
		<id>http://www.mikechambers.com/blog/?p=1248</id>
		<updated>2008-06-12T21:20:01Z</updated>
		<published>2008-06-12T21:20:01Z</published>
		<category scheme="http://www.mikechambers.com/blog" term="Uncategorized" />		<summary type="html"><![CDATA[I have been working on a JavaScript AIR app for the past week or so while on the on AIR Tour in Europe, and ran into the need to Base64 encode some data. I knew that there were some JavaScript libraries that did this, and I could also create a SWF library that used the [...]]]></summary>
		<content type="html" xml:base="http://www.mikechambers.com/blog/2008/06/12/base64-encoding-and-decoding-in-javascript-in-adobe-air/">&lt;p&gt;I have been working on a JavaScript AIR app for the past week or so while on the on AIR Tour in Europe, and ran into the need to Base64 encode some data. I knew that there were some JavaScript libraries that did this, and I could also create a SWF library that used the &lt;a href="http://livedocs.adobe.com/flex/3/langref/mx/utils/Base64Encoder.html"&gt;Flex Base64Encoder class&lt;/a&gt;. However, I didnt like either of these solutions as I was concerned about performance with using a JavaScript implementation, and didnt want to hassle with creating a SWF library to link into JavaScript.&lt;/p&gt;
&lt;p&gt;Well, after some searching on Google, I discovered that webkit has native Base64 encoding and decoding functions, respectively named &lt;code&gt;btoa&lt;/code&gt; and &lt;code&gt;atob&lt;/code&gt;.&lt;br /&gt;
&lt;span id="more-1248"&gt;&lt;/span&gt;&lt;br /&gt;
Here is how you can use them from JavaScript:&lt;/p&gt;
&lt;div class="highlight"&gt;
&lt;pre&gt;&lt;span style="color: #008000; font-weight: bold"&gt;var&lt;/span&gt; s &lt;span style="color: #666666"&gt;=&lt;/span&gt; &lt;span style="color: #BA2121"&gt;&amp;quot;foo&amp;quot;&lt;/span&gt;&lt;span style="color: #666666"&gt;;&lt;/span&gt;
&lt;span style="color: #008000; font-weight: bold"&gt;var&lt;/span&gt; encoded &lt;span style="color: #666666"&gt;=&lt;/span&gt; btoa(s);
&lt;span style="color: #008000; font-weight: bold"&gt;var&lt;/span&gt; decoded &lt;span style="color: #666666"&gt;=&lt;/span&gt; atob(encoded);
&lt;span style="color: #008000"&gt;window&lt;/span&gt;.runtime.trace(s);
&lt;span style="color: #008000"&gt;window&lt;/span&gt;.runtime.trace(encoded);
&lt;span style="color: #008000"&gt;window&lt;/span&gt;.runtime.trace(decoded);
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;This outputs:&lt;/p&gt;
&lt;pre&gt;foo
Zm9v
foo
&lt;/pre&gt;
&lt;p&gt;Among other things, this can come in handy if you need to create custom HTTP authentication headers.&lt;/p&gt;
&lt;p&gt;You can find more information on the apis &lt;a href="http://javascript.royh.cn/global/atob-4-0-5-2-0-btoa-4-0-5-.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;img src="http://feeds.feedburner.com/~r/MikeChambersAtom/~4/310681221" height="1" width="1"/&gt;</content>
		<link rel="replies" type="text/html" href="http://www.mikechambers.com/blog/2008/06/12/base64-encoding-and-decoding-in-javascript-in-adobe-air/#comments" thr:count="6" />
		<link rel="replies" type="application/atom+xml" href="http://www.mikechambers.com/blog/2008/06/12/base64-encoding-and-decoding-in-javascript-in-adobe-air/feed/atom/" thr:count="6" />
		<thr:total>6</thr:total>
	<feedburner:origLink>http://www.mikechambers.com/blog/2008/06/12/base64-encoding-and-decoding-in-javascript-in-adobe-air/</feedburner:origLink></entry>
	</feed><!-- Dynamic Page Served (once) in 0.182 seconds --><!-- Cached page served by WP-Cache -->
