<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html" />
  <link rel="self" type="application/atom+xml" href="http://www.insideria.com/atom.xml" />
  <id>tag:www.insideria.com,2009://34/tag:www.insideria.com,2008://34.22857-</id>
  <updated>2009-11-16T15:54:52Z</updated>
  <title>Comments for AIR API - Clipboard Explorer Application (http://www.insideria.com/2008/02/air-api-using-the-clipboard.html)</title>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>
  <entry>
    <id>tag:www.insideria.com,2008://34.22857</id>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blogs.oreilly.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=34/entry_id=22857" title="AIR API - Clipboard Explorer Application" />
    <published>2008-02-09T19:38:53Z</published>
    <updated>2008-03-11T16:38:16Z</updated>
    <title>AIR API - Clipboard Explorer Application</title>
    <summary>

This screencast will demonstrate how to use the Clipboard Explorer AIR application.  This application can be used to experiment with Adobe AIR&apos;s clipboard support.  As with all of the samples I will post here - &apos;View Source&apos; is enabled and can be used by simply right clicking on the chrome of the application and selecting &apos;View Source&apos;.  </summary>
    <author>
      <name>David Tucker</name>
      <uri>http://www.davidtucker.net/</uri>
    </author>
    
    <category term="Screencasts" />
    
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com/">
      <![CDATA[<p><strong>Update:</strong> The Clipboard Explorer has been updated to work properly with AIR 1.0</p>

<p>In the first two articles (listed below) we examined both the basic and advanced usage of the clipboard functionality within Adobe AIR.  Before you begin working with the Clipboard Explorer application, you will probably want to have read these articles.</p>

<ul>
<li><a href="http://www.insideria.com/2008/02/unlocking-the-air-api-part-1.html" target="_blank">AIR API - Introduction to the Clipboard</a></li>
<li><a href="http://www.insideria.com/2008/02/air-api-advanced-clipboard-tec.html" target="_blank">AIR API - Advanced Clipboard Techniques</a></li>
</ul>

<p>This screencast will demonstrate how to use the Clipboard Explorer AIR application.  As with all of the samples I will post here - 'View Source' is enabled and can be used by simply right clicking on the chrome of the application and selecting 'View Source' (once you have installed the application).</p>

<div class="ap_c">
	<a href="#" onclick="return hs.htmlExpand(this, { contentId: 'screencast02092008' } )"  class="highslide">
		<img src="http://www.insideria.com/dtucker/airAPI-Title.jpg" alt="Highslide JS" title="Click to enlarge" width="400" />
	</a>
	<div class="highslide-html-content" id="screencast02092008" style="width: 680px; height: 575px;">
		<div style="height:20px; padding: 2px">
			<a href="#" onclick="return hs.close(this)" class="control">Close</a>
			<a href="#" onclick="return false" class="highslide-move control">Move</a>
		</div>
		<div class="highslide-body" style="padding: 0 10px 10px 10px">
			<div id="flashcontent">	   		
				<div id="cs_noexpressUpdate"><p>Sample</p></div>
			</div>
			<noscript>This screencast requires that JavaScript is enabled.</noscript>
			<script type="text/javascript" src="/dtucker/swfobject.js"></script>
			<script type="text/javascript" src="/upload/2008/02/air_api-clipboard_examples/ClipboardExplorer.js"></script>
			<script type="text/javascript">
				// <![CDATA[          
				var fo = new SWFObject( "/upload/2008/02/air_api-clipboard_examples/ClipboardExplorer_controller.swf", "screencast", "640", "535", "8", "#FFFFFF", false, "best" );
				fo.addVariable( "csConfigFile", "/upload/2008/02/air_api-clipboard_examples/ClipboardExplorer_config.xml"  ); 
				fo.addVariable(	"csColor", "FFFFFF" );
				fo.addVariable( "csPreloader" , "/upload/2008/02/air_api-clipboard_examples/ClipboardExplorer_preload.swf" );
				if( args.movie ) {
					fo.addVariable( "csFilesetBookmark", args.movie );
				}
				fo.write( "flashcontent" );				
				// ]]&gt;
			</script>
			<script type="text/javascript">document.getElementById('screencast').focus();document.screencast.focus();</script>
		</div>
	</div>
</div>

<script language="JavaScript" type="text/javascript">
<!--
// -----------------------------------------------------------------------------
// Globals
// Major version of Flash required
var requiredMajorVersion = 9;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 115;
// AIR Version Required
var airVersion = "1.0";
// AIR Application Name
var airApplicationName = "Sample Application";
// AIR Application URL
var airApplicationURL = "http://www.insideria.com/dtucker/clipboard.air";
// AIR Application Image
var airApplicationImage = "/dtucker/clipboardBadge.jpg";
// Directory of badge.swf file (optional)
var badgeDirectory = "/dtucker/";
// Directory of playerProductInstall.swf (optional)
var expressInstallDirectory = "/dtucker/"; 
// -----------------------------------------------------------------------------
// -->
</script>

<h2><strong>Clipboard Explorer Application</strong></h2>

<p>The following badge will allow you to install the Clipboard Explorer application on your local machine.  It will also install Adobe AIR (if you don't already have it installed).  </p>

<script src="/dtucker/AC_RunActiveContent.js" language="javascript"></script>
<div style="width: auto;text-align: center">
<script src="/dtucker/InstallBadge.js" language="javascript"></script>
</div>

<h2><strong>Credits</strong></h2>

<p>I want to thank Daniel and the Adobe XD team for permission to use some of their visual elements in this application.  You read more about their technique <a href="http://www.wabysabi.com/blog/2008/01/29/example-air-app-dynamically-resizing-windows-based-on-content-area/">here</a>.</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22857-comment:2043518</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22857" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html#comment-2043518" />
    <title>Comment from Jeff on 2008-09-30</title>
    <author>
        <name>Jeff</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>I have a question regarding the AIR clipboard API.  I need to copy a chart from excel in an AIR application, and although i can paste this chart as a bitmap into photoshop or word i am having no luck extracting this bitmap from the copied chart.  It seems excel is placing on the clipboard an object with more complex data than just a bitmap.  Is there any way i can access clipboard data from external applications that are more complex than simple text or bitmap objects?</p>]]>
    </content>
    <published>2008-10-01T06:48:53Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22857-comment:2044635</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22857" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html#comment-2044635" />
    <title>Comment from pierre on 2008-10-23</title>
    <author>
        <name>pierre</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Hello,</p>

<p>I'm a beginner and i'm looking for an example to drag and drop an xls fiel( not csv) into an air application.</p>

<p>Can you help me? i don't found any solution on the web.</p>

<p>thank</p>]]>
    </content>
    <published>2008-10-23T08:12:03Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2008://34.22857-comment:2052051</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2008://34.22857" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2008/02/air-api-using-the-clipboard.html#comment-2052051" />
    <title>Comment from Matt Mullally on 2009-01-31</title>
    <author>
        <name>Matt Mullally</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Thanks a ton - very useful.</p>]]>
    </content>
    <published>2009-02-01T00:56:53Z</published>
  </entry>

</feed
