<?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: Attaching a Bitmap &#8211; AS2 vs AS3</title>
	<atom:link href="http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/</link>
	<description>part designer. part developer. all creative</description>
	<lastBuildDate>Tue, 10 Jan 2012 12:44:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: starpause</title>
		<link>http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/comment-page-1/#comment-1003</link>
		<dc:creator>starpause</dc:creator>
		<pubDate>Fri, 26 Sep 2008 17:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/#comment-1003</guid>
		<description>public function cloneMovieClip(original:MovieClip, clone:MovieClip){
	var tempData = new BitmapData(original.width, original.height, false, 0xffffff);
	var tempBitmap:Bitmap = new Bitmap(tempData);
	tempData.draw(original);
	clone.addChild(tempBitmap);
}</description>
		<content:encoded><![CDATA[<p>public function cloneMovieClip(original:MovieClip, clone:MovieClip){<br />
	var tempData = new BitmapData(original.width, original.height, false, 0xffffff);<br />
	var tempBitmap:Bitmap = new Bitmap(tempData);<br />
	tempData.draw(original);<br />
	clone.addChild(tempBitmap);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/comment-page-1/#comment-791</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 15 Aug 2008 20:57:16 +0000</pubDate>
		<guid isPermaLink="false">http://spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/#comment-791</guid>
		<description>So in my library I have a bitmap that I created the linkage name card1. I don&#039;t have a card1 class but it says it creates them for me. However when I try and create an object of the bitmap card1(1,1) it throws the error Call to possibly undefined method. Am I missing something? Is there a way around this?</description>
		<content:encoded><![CDATA[<p>So in my library I have a bitmap that I created the linkage name card1. I don&#8217;t have a card1 class but it says it creates them for me. However when I try and create an object of the bitmap card1(1,1) it throws the error Call to possibly undefined method. Am I missing something? Is there a way around this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liam</title>
		<link>http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/comment-page-1/#comment-583</link>
		<dc:creator>Liam</dc:creator>
		<pubDate>Fri, 06 Jun 2008 14:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/#comment-583</guid>
		<description>Ah yes, without playing around with code right this minute, I can&#039;t say for certain... but you need to create a BitmapData object and make sure the transparent flag is set to true when you create it. Don&#039;t confuse Bitmap and BitmapData. A Bitmap object contains a property bitmapData (which is an BitmapData object), but a BitmapData object can exist on its own. If that makes sense.</description>
		<content:encoded><![CDATA[<p>Ah yes, without playing around with code right this minute, I can&#8217;t say for certain&#8230; but you need to create a BitmapData object and make sure the transparent flag is set to true when you create it. Don&#8217;t confuse Bitmap and BitmapData. A Bitmap object contains a property bitmapData (which is an BitmapData object), but a BitmapData object can exist on its own. If that makes sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craigie</title>
		<link>http://www.spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/comment-page-1/#comment-485</link>
		<dc:creator>craigie</dc:creator>
		<pubDate>Mon, 26 May 2008 13:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://spikything.com/blog/index.php/2007/09/28/attaching-a-bitmap-as2-vs-as3/#comment-485</guid>
		<description>I cant see how to set the transparency of the linked image to true? you cant use bmp.transparent=true, its read only. I&#039;m using a work around of creating another transparent bitmapdata, then drawing the bitmap from the library onto it, but it seems a bit daft. Am I missing something really obvious?</description>
		<content:encoded><![CDATA[<p>I cant see how to set the transparency of the linked image to true? you cant use bmp.transparent=true, its read only. I&#8217;m using a work around of creating another transparent bitmapdata, then drawing the bitmap from the library onto it, but it seems a bit daft. Am I missing something really obvious?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

