<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
	>
<channel>
	<title>Comments on: AS3: Take a screenshot of any Displayobject</title>
	<atom:link href="http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/</link>
	<description>Code &#38; Technology Aficionado - Come for the Flash, stay for more!</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:29:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dustin</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-114863</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Tue, 13 Dec 2011 14:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-114863</guid>
		<description>If you&#039;d like to adjust the center point of your screenshot for centered display objects you can use a matrix to shift it over.

&lt;code&gt;
var rect:Rectangle = new Rectangle(0, 0, target.width, target.height);
var matrix:Matrix = new Matrix();
matrix.translate(target.width/2, target.height/2);
var bd:BitmapData = new BitmapData(rect.width, rect.height, true, 0x00000000);
bd.draw(clip, matrix);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you&#8217;d like to adjust the center point of your screenshot for centered display objects you can use a matrix to shift it over.</p>
<p><code><br />
var rect:Rectangle = new Rectangle(0, 0, target.width, target.height);<br />
var matrix:Matrix = new Matrix();<br />
matrix.translate(target.width/2, target.height/2);<br />
var bd:BitmapData = new BitmapData(rect.width, rect.height, true, 0x00000000);<br />
bd.draw(clip, matrix);<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SteveInSpain</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-114090</link>
		<dc:creator>SteveInSpain</dc:creator>
		<pubDate>Thu, 08 Dec 2011 16:24:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-114090</guid>
		<description>Just what I needed. Thanks. AS3 I will tame you!</description>
		<content:encoded><![CDATA[<p>Just what I needed. Thanks. AS3 I will tame you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-88194</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Thu, 07 Apr 2011 10:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-88194</guid>
		<description>cool :)</description>
		<content:encoded><![CDATA[<p>cool <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-88190</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 07 Apr 2011 09:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-88190</guid>
		<description>Nvm mate! Already got it working :razz:</description>
		<content:encoded><![CDATA[<p>Nvm mate! Already got it working <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_razz.gif' alt=':razz:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-88153</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 06 Apr 2011 11:55:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-88153</guid>
		<description>It doesn&#039;t work for me. I&#039;m a bid noob but this is exactly what i am looking for. I have multiple movieclips overlayed and i want to make 1 image of it. I pasted the codes into the action panel and when i run the swf nothing happens. Don&#039;t know when he makes the snapshot or when he shows the snapshot. I feel kinda stupid..

Can you maybe zip the files or something so i can take a look at it? Let me know. I would really appreciate it!

Sorry if my english isn&#039;t perfect. :mrgreen:</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t work for me. I&#8217;m a bid noob but this is exactly what i am looking for. I have multiple movieclips overlayed and i want to make 1 image of it. I pasted the codes into the action panel and when i run the swf nothing happens. Don&#8217;t know when he makes the snapshot or when he shows the snapshot. I feel kinda stupid..</p>
<p>Can you maybe zip the files or something so i can take a look at it? Let me know. I would really appreciate it!</p>
<p>Sorry if my english isn&#8217;t perfect. <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-87619</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Tue, 29 Mar 2011 17:36:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-87619</guid>
		<description>That is absolutely correct, bitmap data always starts at the registration point. so if you have a registration point centered the bitmap data would miss the upper and the left part of the display object. Nevertheless when working on a pure AS3 project your registration point is anyway set to 0,0 upper left (unless you change it ). Valid point. Thanks for the warning :) Mr. Anonymous</description>
		<content:encoded><![CDATA[<p>That is absolutely correct, bitmap data always starts at the registration point. so if you have a registration point centered the bitmap data would miss the upper and the left part of the display object. Nevertheless when working on a pure AS3 project your registration point is anyway set to 0,0 upper left (unless you change it ). Valid point. Thanks for the warning <img src='http://blog.six4rty.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Mr. Anonymous</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-87616</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 29 Mar 2011 16:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-87616</guid>
		<description>This works only if the origin of display object is in upper left corner; if it is e.g. in center, bitmapdata is filled in draw command around the upper left corner leaving down-right part empty</description>
		<content:encoded><![CDATA[<p>This works only if the origin of display object is in upper left corner; if it is e.g. in center, bitmapdata is filled in draw command around the upper left corner leaving down-right part empty</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: motionmouse</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-77922</link>
		<dc:creator>motionmouse</dc:creator>
		<pubDate>Wed, 05 Jan 2011 17:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-77922</guid>
		<description>Ok, found the solution and it was also posted here earlier. just use &#039;stage&#039; as myimage. for some reason this didnt work the first time round but now does yay! ^-^</description>
		<content:encoded><![CDATA[<p>Ok, found the solution and it was also posted here earlier. just use &#8216;stage&#8217; as myimage. for some reason this didnt work the first time round but now does yay! ^-^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: motionmouse</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-77918</link>
		<dc:creator>motionmouse</dc:creator>
		<pubDate>Wed, 05 Jan 2011 16:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-77918</guid>
		<description>Hi, thanks for the code! I cannot seem to figure out how to make a printscreen of the stage containing many displayobjects. 

example: my stage contains many movieclips which are placed together to form one image.

Ive figured out how to place these displayobjects into one screenshot but the problem is that each displayobject is centered in the screenshot. I need the screenshot to portray the displayobjects in their original position. Is there another option than placing all the diffrent displayobjects into one movieclip?

hopefullly ive ilustrated the problem clearly...</description>
		<content:encoded><![CDATA[<p>Hi, thanks for the code! I cannot seem to figure out how to make a printscreen of the stage containing many displayobjects. </p>
<p>example: my stage contains many movieclips which are placed together to form one image.</p>
<p>Ive figured out how to place these displayobjects into one screenshot but the problem is that each displayobject is centered in the screenshot. I need the screenshot to portray the displayobjects in their original position. Is there another option than placing all the diffrent displayobjects into one movieclip?</p>
<p>hopefullly ive ilustrated the problem clearly&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Hoff</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-73849</link>
		<dc:creator>The Hoff</dc:creator>
		<pubDate>Mon, 29 Nov 2010 13:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-73849</guid>
		<description>Nice one, thanks for the code!</description>
		<content:encoded><![CDATA[<p>Nice one, thanks for the code!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tom elliott</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-73848</link>
		<dc:creator>tom elliott</dc:creator>
		<pubDate>Mon, 29 Nov 2010 13:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-73848</guid>
		<description>Thanks, works well</description>
		<content:encoded><![CDATA[<p>Thanks, works well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tiago</title>
		<link>http://blog.six4rty.ch/2010/07/11/as3-take-a-screenshot-of-displayobject/comment-page-1/#comment-70022</link>
		<dc:creator>Tiago</dc:creator>
		<pubDate>Sat, 04 Sep 2010 14:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.six4rty.ch/?p=716#comment-70022</guid>
		<description>Yep absolutely, you can use the same method like i&#039;ve shown in this post.</description>
		<content:encoded><![CDATA[<p>Yep absolutely, you can use the same method like i&#8217;ve shown in this post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

