<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - flash - 9.0 - ActionScriptLangRefV3 - flash/display/BitmapData.html</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T12:40:24</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#81438" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80514" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80436" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80358" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#79566" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#70508" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#69850" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#81438">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#81438</link>
		<description>Paul, we cannot reproduce the problem you are experiencing. As  adbe_paul recommends, feel free to log a bug in the Adobe Flex bugbase.</description>
		<dc:creator>swartz1999</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2008-03-03T16:30:36</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80514">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80514</link>
		<description>Of course. I'm just wondering what's wrong with my code below? It says above that the constructor requires a width and height, but the code below won't compile because it says BitmapData() takes no more than 0 arguments. I'm a little confused.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;import flash.display.BitmapData;&lt;br /&gt;&lt;br /&gt;public function init():void&lt;br /&gt;{&lt;br /&gt;var myBitmapData:BitmapData = new BitmapData(100, 100, false, 0xFFFFFF);&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;</description>
		<dc:creator>Paul Feakins</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-09T03:08:18</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80436">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80436</link>
		<description>Without seeing your code, it's impossible to say what might be causing the problem.&lt;br&gt;&lt;br&gt;If it's something that keeps happening, please file a bug for Flex Builder in the public Flex bugbase:&lt;br&gt;http://bugs.adobe.com/flex/</description>
		<dc:creator>adbe_paul</dc:creator>
		<dc:type>1 0</dc:type>
		<dc:date>2008-02-07T10:32:10</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80358">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#80358</link>
		<description>Hi there, I'm probably making a very simple error by Flex Builder is telling me that BitmapData() accepts no more than 0 arguments when I try to compile. However, code hinting suggests it takes width, height, transparency and colour?</description>
		<dc:creator>Paul Feakins</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-02-05T12:33:09</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#79566">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#79566</link>
		<description>The documentation for getPixel() indicates that a 0 value will be returned if &lt;br /&gt;the (x,y) coordinates are outside the bounds of the bitmap.&lt;br /&gt;&lt;br /&gt;I'm running into a situation where a check to see if the returned value is 0 is &lt;br /&gt;true very regularly. What became apparent was that it was actually return &lt;br /&gt;black pixel values, or 0x000000, which when turned into a decimal = 0. It &lt;br /&gt;seems like it would be difficult to evaluate whether or not the script is failing &lt;br /&gt;or if I am getting valid pixel information back in the form of a full black pixel.&lt;br /&gt;&lt;br /&gt;Has anyone encountered this and could offer an explanation? In this case &lt;br /&gt;you would think that it should return a -1.</description>
		<dc:creator>Stephen Barrante</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2008-01-16T13:43:36</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#70508">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#70508</link>
		<description>As of writing the current release version of FlashPlayer9 does not distinguish between bitmapData.unlock() and bitmapData.unlock(changeRect). Both behave as if only unlock() was called. Furthermore, a call to lock() without a corresponding unlock() - can fail to block an update of the display - depending on the circumstances.&lt;br /&gt;&lt;br /&gt;Otherwise the lock/unlock behaves as expected and functionally improves performance.&lt;br /&gt;&lt;br /&gt;The problem is known to Adobe and a fix is in the pipeline for future releases of the player.</description>
		<dc:creator>Carl Looper</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-07-21T16:52:14</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#69850">
		<title>flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html</title>
		<link>http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#69850</link>
		<description>In BitmapData.compare operations the result type is an object because it is either a signed integer object or a BitmapData object&lt;br /&gt;&lt;br /&gt;So the result needs to be cast as the required object either this way (as per updated documentation):&lt;br /&gt;diffBmpData = bmd1.compare(bmd2) as BitmapData;&lt;br /&gt;&lt;br /&gt;or this way:&lt;br /&gt;diffBmpData = BitmapData( bmd1.compare(bmd2) );&lt;br /&gt;&lt;br /&gt;But these only work if you know a BitmapData object really is being returned.  In some situations you may not be able to control this.&lt;br /&gt;&lt;br /&gt;In these situations you can couch the statement in a try/catch block - and if an exception is thrown (because the returned object was not a BitmapData object) you can catch the returned object as an integer and act accordingly.&lt;br /&gt;&lt;br /&gt;Carl</description>
		<dc:creator>Carl Looper</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-07-09T16:10:05</dc:date>
	</item>
	</rdf:RDF>

