<?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: Flash Rotation Bug (with Fix)</title>
	<atom:link href="http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/</link>
	<description>Making Flash Go</description>
	<lastBuildDate>Sun, 07 Mar 2010 10:12:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jared</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/comment-page-1/#comment-43388</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Tue, 22 Sep 2009 00:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/#comment-43388</guid>
		<description>Thanks so much for posting this.  Yours was the ONLY link describing this issue that google pulled up, and if it weren&#039;t for you guys, I would never have known what was causing my flash to break.

Thanks, Jared</description>
		<content:encoded><![CDATA[<p>Thanks so much for posting this.  Yours was the ONLY link describing this issue that google pulled up, and if it weren&#8217;t for you guys, I would never have known what was causing my flash to break.</p>
<p>Thanks, Jared</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Use Modulo for Box2D Rotation &#124; Manfred Weber`s Weblog</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/comment-page-1/#comment-22415</link>
		<dc:creator>Use Modulo for Box2D Rotation &#124; Manfred Weber`s Weblog</dc:creator>
		<pubDate>Mon, 21 Jul 2008 22:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/#comment-22415</guid>
		<description>[...] also posted more details about this bug. The solution is simple: Use modulo within the enterFrameHandler to assign proper [...]</description>
		<content:encoded><![CDATA[<p>[...] also posted more details about this bug. The solution is simple: Use modulo within the enterFrameHandler to assign proper [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pixelwit</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/comment-page-1/#comment-16475</link>
		<dc:creator>Pixelwit</dc:creator>
		<pubDate>Mon, 21 Apr 2008 20:56:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/#comment-16475</guid>
		<description>@Ophi, If rotation is a signed &quot;integer&quot;, wouldn&#039;t that mean _rotation doesn&#039;t hold fractional values?  I&#039;m pretty sure _rotation can be set to decimal values like 22.5.</description>
		<content:encoded><![CDATA[<p>@Ophi, If rotation is a signed &#8220;integer&#8221;, wouldn&#8217;t that mean _rotation doesn&#8217;t hold fractional values?  I&#8217;m pretty sure _rotation can be set to decimal values like 22.5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ophi</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/comment-page-1/#comment-16443</link>
		<dc:creator>Ophi</dc:creator>
		<pubDate>Mon, 21 Apr 2008 17:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/#comment-16443</guid>
		<description>Hi. 32767 is the max number of the signed integer type. (2 bytes, with first bit for the sign). I think _rotation is simply a signed integer going from -32768 to 32767. So when you try to assign it a value greater than 32767, all the bits don&#039;t fit into this signed integer, and so there is the bug. To avoid that, you must increment _rotation and not count.
_rotation+=361
(flash will implicitely do the trick)
Hey, works fine with AS2 :)</description>
		<content:encoded><![CDATA[<p>Hi. 32767 is the max number of the signed integer type. (2 bytes, with first bit for the sign). I think _rotation is simply a signed integer going from -32768 to 32767. So when you try to assign it a value greater than 32767, all the bits don&#8217;t fit into this signed integer, and so there is the bug. To avoid that, you must increment _rotation and not count.<br />
_rotation+=361<br />
(flash will implicitely do the trick)<br />
Hey, works fine with AS2 <img src='http://www.pixelwit.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pixelwit</title>
		<link>http://www.pixelwit.com/blog/2008/01/flash-rotation-bug/comment-page-1/#comment-9309</link>
		<dc:creator>Pixelwit</dc:creator>
		<pubDate>Tue, 26 Feb 2008 12:59:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelwit.com/blog/2008/01/02/flash-rotation-bug/#comment-9309</guid>
		<description>Sorry Laurence, I haven&#039;t a clue.  Using modulo should yield results like &quot;358, 359, 0, 1, 2&quot; not &quot;358, 359, &lt;strong&gt;360&lt;/strong&gt;, 0, 1, 2&quot;,  if that helps at all.</description>
		<content:encoded><![CDATA[<p>Sorry Laurence, I haven&#8217;t a clue.  Using modulo should yield results like &#8220;358, 359, 0, 1, 2&#8243; not &#8220;358, 359, <strong>360</strong>, 0, 1, 2&#8243;,  if that helps at all.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
