<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>OnRails.org: WebSnapshot - a simple Adobe AIR application.</title>
    <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Ruby On Rails and related matters.</description>
    <item>
      <title>WebSnapshot - a simple Adobe AIR application.</title>
      <description>&lt;span class="caps"&gt;UPDATE&lt;/span&gt;: new version can be found &lt;a href="http://myspyder.net/tools/websnapshot/"&gt;here&lt;/a&gt;
&lt;p/&gt;
I converted the &lt;a href="http://onrails.org/articles/2007/04/05/web-snapshot-a-simple-apollo-application"&gt;original Apollo WebSnapshot&lt;/a&gt; Application to Adobe &lt;span class="caps"&gt;AIR&lt;/span&gt; using &lt;a href="http://labs.adobe.com/technologies/flex/flexbuilder3/"&gt;FlexBuilder 3&lt;/a&gt;. Now WebSnapshot works on &lt;span class="caps"&gt;OSX&lt;/span&gt; and Windows. 

The conversion was straight forward. I changed the root tag of the application from 
&lt;pre&gt;&amp;lt;mx:ApolloApplication&amp;gt;&lt;/pre&gt; to &lt;pre&gt;&amp;lt;mx:WindowedApplication&amp;gt;&lt;/pre&gt; 

	&lt;p&gt;Then I used the new File.browseForSave method to show the save dialog when clicking on the thumbnail. No need anymore for the workaround that was required for this before. One thing I didn&amp;#8217;t find out (yet) is how to set the file type and default filename in the save dialog. Any pointer is welcome!&lt;/p&gt;


	&lt;p&gt;Download it now: &lt;a href="http://onrails.org/files/WebSnapshot0.2.air"&gt;WebSnapshot0.2.air&lt;/a&gt; (right click and &amp;lsquo;Download Linked File&amp;rsquo;)&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://onrails.org/files/20070613_websnapshot_osx.gif" border="0" height="270" width="500" alt="20070613_websnapshot_osx.gif"  /&gt;&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://onrails.org/files/20070613_websnapshot.gif" border="0" height="285" width="500" alt="20070613_websnapshot.gif" align="" /&gt;&lt;/p&gt;


	&lt;p&gt;To run the application you need to &lt;a href="http://labs.adobe.com/downloads/air.html"&gt;Adobe Integrated Runtime (AIR)&lt;/a&gt;.  Also uninstall Alpha 1 before installing Beta 1 if you had Apollo installed.&lt;/p&gt;


	&lt;p&gt;To uninstall the runtime on Windows:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;1. In the Windows Start menu, select Settings &amp;gt; Control Panel.
2. Select the Add or Remove Programs control panel.
3. Select &amp;amp;ldquo;Adobe Apollo 1.0 Alpha1&amp;amp;rdquo; to uninstall the Apollo runtime.
4. Click the Change/Remove button.&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;To uninstall the runtime on Macintosh:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;1. Delete the /Library/Frameworks/Adobe Apollo.framework directory.
2. Delete the /Library/Receipts/Adobe Apollo.pkg file.
3. Empty the Trash.&lt;/code&gt;&lt;/pre&gt;</description>
      <pubDate>Wed, 13 Jun 2007 23:46:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e36e7838-cb98-46bc-b0d8-e220c20a2a40</guid>
      <author>Daniel Wanja</author>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Handytarife</title>
      <description>&lt;p&gt;I think it´s a russian spammer who has no friends. A pitty that such people ruin so nice blogs like here.&lt;/p&gt;


	&lt;p&gt;Be aware of this commentors.&lt;/p&gt;


	&lt;p&gt;By the way. Nice article. Thx for that!&lt;/p&gt;</description>
      <pubDate>Fri, 19 Jun 2009 09:29:56 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:525762ed-82f8-41b5-a602-91d611f33d50</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4457</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Handytarife</title>
      <description>&lt;p&gt;I think it´s a russian spammer who has no friends. A pitty that such people ruin so nice blogs like here.&lt;/p&gt;


	&lt;p&gt;Be aware of this commentors.&lt;/p&gt;


	&lt;p&gt;By the way. Nice article. Thx for that!&lt;/p&gt;</description>
      <pubDate>Fri, 19 Jun 2009 09:29:54 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:639a6df9-f18a-4020-b0f8-1cfcb94fcd35</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4456</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Handy</title>
      <description>&lt;p&gt;Spammy comments ahead?&lt;/p&gt;</description>
      <pubDate>Wed, 17 Jun 2009 20:28:05 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:827b0880-e2cd-47fb-bf73-fb4eaf28776a</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4453</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Oh sorry, the button was so slow, pls delete comments&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:59:49 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:834999d3-434c-4749-8988-6936187dbfba</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4451</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:58:06 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:cac721e1-d82f-4178-8f64-9cb3bfb67d93</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4450</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:58:04 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:c5f2deb9-fded-4fce-a62b-a0cdc65ba6a2</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4449</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:58:01 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:a83b3a9a-b932-4f36-b3e6-f7065ab8d733</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4448</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:57:59 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:e274a046-f77e-4924-951b-da0504d04987</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4447</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:57:59 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:b59e237a-3f6f-4485-b880-fd365f63c41c</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4446</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:57:49 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:fe5ed9a0-2741-424c-80fb-dbef3466c7fc</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4445</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Forex</title>
      <description>&lt;p&gt;Hi,
thx for the article, i use the small useful Adobe Air Applications.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Jun 2009 13:57:46 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:ecaa2c2b-1f10-44c0-927b-f2feaee368fe</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4444</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by http://www.myairapplications.com</title>
      <description>&lt;p&gt;great applications.. maybe it would be on my list. thanks..&lt;/p&gt;</description>
      <pubDate>Sun, 22 Mar 2009 02:58:15 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:4cbc7e78-2b6f-4a20-87da-461e63d4f1c9</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4338</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Flex Resources</title>
      <description>&lt;p&gt;Great list of Flex Resources at:
&lt;a href="http://www.flexbasics.com" rel="nofollow"&gt;http://www.flexbasics.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 05 Jan 2009 02:43:51 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f1e13d46-e3eb-4bbc-bf20-a3037d5cf5e3</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-4182</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Cayman</title>
      <description>&lt;p&gt;Like Daniel Wanja already commented you&amp;#8217;ll only find the compiled sorces. For decompiling I often use a tool named &amp;#8220;CreezyFile&amp;#8221; &amp;gt;&amp;gt; it&amp;#8217;s great. I can recommend it.&lt;/p&gt;


	&lt;p&gt;Nice blog, by the way :)&lt;/p&gt;</description>
      <pubDate>Sun, 25 May 2008 07:09:41 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:d1798e5e-f525-4ae3-9e88-f8449e25192f</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3559</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Sid_M</title>
      <description>&lt;p&gt;After playing around, I stumbled on hot set defaults for browseForSave(). Set the file object&amp;#8217;s path to what you want as the default, and that will be respected by the dialog box. Like this:&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;file = File.documentsDirectory.resolvePath("mySubDirectories/myDefaultFilename.ext");&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;That&amp;#8217;s it.&lt;/p&gt;</description>
      <pubDate>Sat, 26 Apr 2008 03:38:48 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:913cc497-58c8-4423-9fca-7738d1bee992</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3491</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by קידום אתרים</title>
      <description>&lt;p&gt;Inside the .air file, which is a zip like flanture mentioned, you will only find the compiled version not the sources. You can find most of the significant code in the original blog post, and I will also release the code with the next release (0.3). I will first ensure the save dialog gets populated with the default file name, replace the JPEGEncoder with the one provided by Flex 3 (mx.graphics.codec.JPEGEncoder ).&lt;/p&gt;</description>
      <pubDate>Mon, 31 Mar 2008 13:16:49 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:6db8b43e-a8de-4655-b3f6-0eebd99e5dd7</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3425</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Alexander Evans</title>
      <description>&lt;p&gt;This is really great, I prefer it over Silverlight currently. Thanks for throwing some Air Applications in already, very appreciated.&lt;/p&gt;</description>
      <pubDate>Fri, 07 Mar 2008 14:47:45 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:231ac579-8f4c-4d53-b5a2-8665b016a796</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3365</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Emo</title>
      <description>&lt;p&gt;I like this small Adobe Air Applications, some of them are really useful. Like this.&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;/p&gt;</description>
      <pubDate>Fri, 08 Feb 2008 01:31:24 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:65f97613-3330-489f-abd1-09ad0f346a2d</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3254</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by MGM</title>
      <description>&lt;p&gt;I can&amp;#8217;t seem to get it to initialize, I get a memory runtime error in Windows XP every time. Please feel free to e-mail me at my given address if you know how to fix it. Thank you&lt;/p&gt;</description>
      <pubDate>Mon, 31 Dec 2007 00:59:24 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:f6c37835-a238-4a6e-a8bd-5dfa5ca4cd3c</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3186</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Yang</title>
      <description>&lt;p&gt;Inside the .air file, which is a zip like flanture mentioned, you will only find the compiled version not the sources. You can find most of the significant code in the original blog post, and I will also release the code with the next release (0.3). I will first ensure the save dialog gets populated with the default file name, replace the JPEGEncoder with the one provided by Flex 3 (mx.graphics.codec.JPEGEncoder ).&lt;/p&gt;</description>
      <pubDate>Thu, 27 Dec 2007 20:17:38 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:c8379037-0bd6-496d-afd2-a87309218c51</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-3181</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Red Head</title>
      <description>&lt;p&gt;Looks nice!
I&amp;#8217;m also building an air app where the user can save a file and i have the same problem:
How to set the default filename when using the browseforsave()&lt;/p&gt;</description>
      <pubDate>Sun, 29 Jul 2007 09:20:23 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:a35727f1-d15b-4806-afb3-82e26f4f6522</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-2480</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by uyang</title>
      <description>&lt;p&gt;COOL,THANKS&lt;/p&gt;</description>
      <pubDate>Fri, 15 Jun 2007 07:20:13 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:729af542-0f7b-4c1c-b8a2-36c4eeff191f</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-2312</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by Daniel Wanja</title>
      <description>&lt;p&gt;Inside the .air file, which is a zip like flanture mentioned, you will only find the compiled version  not the sources. You can find most of the significant code in the original blog post, and I will also release the code with the next release (0.3). I will first ensure the save dialog gets populated with the default file name, replace the JPEGEncoder with the one provided by Flex 3 (mx.graphics.codec.JPEGEncoder ).&lt;/p&gt;</description>
      <pubDate>Thu, 14 Jun 2007 14:05:09 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:45aa3362-48db-41ed-93a2-b5a5d79bcadc</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-2309</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by flanture</title>
      <description>&lt;p&gt;To see inside air file just change extension to zip.&lt;/p&gt;</description>
      <pubDate>Thu, 14 Jun 2007 10:01:45 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:73a60d3f-9460-49ef-9963-3489239f656f</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-2308</link>
    </item>
    <item>
      <title>"WebSnapshot - a simple Adobe AIR application." by underyang@yahoo.com</title>
      <description>&lt;p&gt;Could you share the source?&lt;/p&gt;</description>
      <pubDate>Thu, 14 Jun 2007 09:41:39 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:223d884c-d567-4955-a15a-6e466f5e3165</guid>
      <link>http://onrails.org/articles/2007/06/13/websnapshot-a-simple-adobe-air-application#comment-2307</link>
    </item>
  </channel>
</rss>
