<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PiXELWiT &#187; Bug</title>
	<atom:link href="http://www.pixelwit.com/blog/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelwit.com/blog</link>
	<description>Making Flash Go</description>
	<lastBuildDate>Fri, 02 Dec 2011 14:21:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FullScreen OnMouseMove Bug</title>
		<link>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/</link>
		<comments>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 13:00:46 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/?p=842</guid>
		<description><![CDATA[Going to FullScreen mode causes Flash to temporarily stop executing all onMouseMove events.]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.pixelwit.com/blog/wp-content/uploads/2009/03/stinkbug.jpg" alt="stinkbug" title="stinkbug" width="100" height="100" class="alignleft size-full wp-image-848" />Here&#8217;s an interesting fact: Going to FullScreen mode causes Flash to temporarily stop executing all onMouseMove events.</p>
<p>I&#8217;m sure if someone from Adobe was pressed hard enough they might be able to provide some convoluted ~logical~ reasons why going into full-screen mode stops all onMouseMove events but I&#8217;m not buying it.  I wasted a few frustrating hours figuring this out and when I searched the web to confirm my suspicions I found no mention of this &#8220;feature&#8221; so I&#8217;m calling it what it is, a BUG.  </p>
<p>Here, take a look at this ugly SWF (move your mouse around to draw a line whenever the OnMouseMove event is fired and then press the blue square to toggle fullScreen mode)<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#more-842" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#more-842" title="''FullScreen OnMouseMove Bug'' continues">Continue reading "FullScreen OnMouseMove Bug"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2009. |
<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/#comments">14 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/&title=FullScreen OnMouseMove Bug'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/adobe/" rel="tag">Adobe</a>, <a href="http://www.pixelwit.com/blog/tag/bug/" rel="tag">Bug</a>, <a href="http://www.pixelwit.com/blog/tag/code/" rel="tag">Code</a>, <a href="http://www.pixelwit.com/blog/tag/tutorial/" rel="tag">Tutorial</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2009/03/fullscreen-onmousemove-bug/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Spin the Black Circle Rotation Bug</title>
		<link>http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/</link>
		<comments>http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 19:33:35 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/04/23/black-circle-rotation-bug/</guid>
		<description><![CDATA[A favorite Flash game "Spin the Black Circle" has a rotation bug that I discovered earlier.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not often that 2 disparate articles on PixelWit.com coincide so I thought I&#8217;d tell you about my recent experience.</p>
<p>In my <a title="PixelWit's Favorite Simple Flash Games" href="http://www.pixelwit.com/blog/2008/02/fun-flash-games/">Ten Fun Flash Games</a> article I mentioned a game called <a title="Neato Flash Game" href="http://onemorelevel.com/game/spin_the_black_circle">Spin the Black Circle</a>.  In another article about my experience with a <a title="Common Rotation Bug in Flash" href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/">Flash Rotation Bug</a> I said, &#8220;I&#8217;m surprised I haven&#8217;t heard more about this particular bug since the conditions which cause it would seem fairly common.&#8221;  Well guess what&#8230;. The Flash Rotation bug can also be found in the Spin the Black Circle game.</p>
<p>If you happen to know the developer Alejandro Guillen and would like to tell him about it, or if you just want to see the bug for yourself you can do the following<a href="http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/#more-260" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/#more-260" title="''Spin the Black Circle Rotation Bug'' continues">Continue reading "Spin the Black Circle Rotation Bug"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/#comments">2 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/&title=Spin the Black Circle Rotation Bug'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/bug/" rel="tag">Bug</a>, <a href="http://www.pixelwit.com/blog/tag/fun/" rel="tag">Fun</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/04/black-circle-rotation-bug/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flash Rotation Bug (with Fix)</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/</link>
		<comments>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 23:35:31 +0000</pubDate>
		<dc:creator>Pixelwit</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Bug]]></category>

		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/</guid>
		<description><![CDATA[Documents a Flash ActionScript bug which occurs when an object is rotated more than 32,768 degrees.  A suitable workaround is also provided.]]></description>
			<content:encoded><![CDATA[<p>I recently ran into a nasty &#8220;little&#8221; bug in Flash that happened to eat up a &#8220;big&#8221; chunk of my time.  I&#8217;m surprised I haven&#8217;t heard more about this particular bug since the conditions which cause it would seem fairly common.</p>
<p>Let&#8217;s say you&#8217;re using an onEnterFrame event to count frames as they pass with code like this:</p>
<div class="codecolorer-container actionscript default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #808080; font-style: italic;">//</span><br />
<span style="color: #808080; font-style: italic;">//</span><br />
<span style="color: #000000; font-weight: bold;">var</span> count = <span style="color: #cc66cc;">0</span>;<br />
<span style="color: #0066CC;">onEnterFrame</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; count++;<br />
<span style="color: #66cc66;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">//</span><br />
<span style="color: #808080; font-style: italic;">//</span></div></div>
<p>Now let&#8217;s suppose we want to rotate an arrow 1 degree every time a frame passes.  We could write code like the following:<a href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/#more-176" title="Read more">...</a><p><a href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/#more-176" title="''Flash Rotation Bug (with Fix)'' continues">Continue reading "Flash Rotation Bug (with Fix)"</a>.</p><hr />
<p><small>© Pixelwit for <a href="http://www.pixelwit.com/blog">PiXELWiT</a>, 2008. |
<a href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/">Permalink</a> |
<a href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/#comments">8 comments</a> |
Add to
<a href='http://del.icio.us/post?url=http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/&title=Flash Rotation Bug (with Fix)'>del.icio.us</a>
<br/>
Post tags: <a href="http://www.pixelwit.com/blog/tag/actionscript/" rel="tag">ActionScript</a>, <a href="http://www.pixelwit.com/blog/tag/bug/" rel="tag">Bug</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

