<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: A Flash &#8220;Clipboard&#8221; using Local Shared Objects</title>
	<atom:link href="http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 13 Aug 2010 18:04:58 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: psyron</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-49889</link>
		<dc:creator>psyron</dc:creator>
		<pubDate>Sun, 28 Jun 2009 22:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-49889</guid>
		<description>about the &#039;Surprise #2: note&#039;:
i also got that problem, but i found on another blog a solution ... the problem is, that if you uncompress the bytearray, it will also be uncompressed in the sharedobject ... so if you read the cache a second time, you will get an error, because he can not uncompress a bytearray already uncompressed ...

the solution is to copy the bytearray into another bytearray before uncompressing ... then it works ;)</description>
		<content:encoded><![CDATA[<p>about the &#8216;Surprise #2: note&#8217;:<br />
i also got that problem, but i found on another blog a solution &#8230; the problem is, that if you uncompress the bytearray, it will also be uncompressed in the sharedobject &#8230; so if you read the cache a second time, you will get an error, because he can not uncompress a bytearray already uncompressed &#8230;</p>
<p>the solution is to copy the bytearray into another bytearray before uncompressing &#8230; then it works ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-46443</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Wed, 17 Jun 2009 12:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-46443</guid>
		<description>Nimesh, you can&#039;t copy an image to the system clipboard in the Flash Player, but you can use a &quot;pseudo clipboard&quot; inside your application of the kind I described.  I&#039;m not going to spell the whole thing out due to lack of time, but basically you would use one of the mx.graphics.codec.* classes to encode your image as a ByteArray, and then stick the ByteArray in some kind of LSO, assuming that it is small enough.</description>
		<content:encoded><![CDATA[<p>Nimesh, you can&#8217;t copy an image to the system clipboard in the Flash Player, but you can use a &#8220;pseudo clipboard&#8221; inside your application of the kind I described.  I&#8217;m not going to spell the whole thing out due to lack of time, but basically you would use one of the mx.graphics.codec.* classes to encode your image as a ByteArray, and then stick the ByteArray in some kind of LSO, assuming that it is small enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nimesh Nanda</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-46388</link>
		<dc:creator>Nimesh Nanda</dc:creator>
		<pubDate>Wed, 17 Jun 2009 07:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-46388</guid>
		<description>hi, 

Can you please share this example ..

how to copy image to clip board using flex application (Not in AIR).

thanks,
Nimesh Nanda</description>
		<content:encoded><![CDATA[<p>hi, </p>
<p>Can you please share this example ..</p>
<p>how to copy image to clip board using flex application (Not in AIR).</p>
<p>thanks,<br />
Nimesh Nanda</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bjorn Schultheiss</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-28668</link>
		<dc:creator>Bjorn Schultheiss</dc:creator>
		<pubDate>Thu, 05 Mar 2009 03:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-28668</guid>
		<description>I like how you compressed the data before writing to the LSO.
Thanks for the tip.</description>
		<content:encoded><![CDATA[<p>I like how you compressed the data before writing to the LSO.<br />
Thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joe</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-22616</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Sat, 07 Feb 2009 18:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-22616</guid>
		<description>Some Flash apps actually do this with an external HTML control sitting out in the containing page, forcing the focus out to that textarea, which apparently gives one more control over focus and like your idea uses the real clipboard.  It&#039;s not so much of a hack in their case because the contains actual rich text, not garbage.</description>
		<content:encoded><![CDATA[<p>Some Flash apps actually do this with an external HTML control sitting out in the containing page, forcing the focus out to that textarea, which apparently gives one more control over focus and like your idea uses the real clipboard.  It&#8217;s not so much of a hack in their case because the contains actual rich text, not garbage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Wright</title>
		<link>http://joeberkovitz.com/blog/2008/12/12/clipboard-using-local-shared-objects/comment-page-1/#comment-22615</link>
		<dc:creator>Tyler Wright</dc:creator>
		<pubDate>Sat, 07 Feb 2009 17:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://joeberkovitz.com/blog/?p=117#comment-22615</guid>
		<description>Smart, an excellent idea!

The approach I&#039;ve considered is putting focus on an off-stage TextField and populating and selecting its contents with some app-specific serialized data. Whenever that text is changed (due to a paste) it deserializes and updates the app. It&#039;s a hack and clutters your real clipboard with garbage. Just not as nicely packaged as this SO approach.

well done.</description>
		<content:encoded><![CDATA[<p>Smart, an excellent idea!</p>
<p>The approach I&#8217;ve considered is putting focus on an off-stage TextField and populating and selecting its contents with some app-specific serialized data. Whenever that text is changed (due to a paste) it deserializes and updates the app. It&#8217;s a hack and clutters your real clipboard with garbage. Just not as nicely packaged as this SO approach.</p>
<p>well done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

