<?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>Tom&#039;s blog &#187; mouseX</title>
	<atom:link href="http://tomkordys.net/blog/tag/mousex/feed/" rel="self" type="application/rss+xml" />
	<link>http://tomkordys.net/blog</link>
	<description>freelance flash/flex/air developer</description>
	<lastBuildDate>Tue, 05 Jul 2011 21:52:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Flash player bug: content disappearing on macs when mouseX used</title>
		<link>http://tomkordys.net/blog/2009/09/17/flash-player-bug-content-disappearing-on-macs-when-mousex-used/</link>
		<comments>http://tomkordys.net/blog/2009/09/17/flash-player-bug-content-disappearing-on-macs-when-mousex-used/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 08:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mouseX]]></category>

		<guid isPermaLink="false">http://tomkordys.net/blog/?p=51</guid>
		<description><![CDATA[I discovered a bug in flash player which is quite hard to debug if you don&#8217;t have a mac. It&#8217;s got to do with mouseX values going crazy on macs. It occurs in Safari, Firefox and most likely on IE. MY issue was that i had parralax scrolling in place. Parralax scrolling was repositioning background [...]]]></description>
			<content:encoded><![CDATA[<p>I discovered a bug in flash player which is quite hard to debug if you don&#8217;t have a mac. It&#8217;s got to do with mouseX values going crazy on macs. It occurs in Safari, Firefox and most likely on IE.<br />
MY issue was that i had parralax scrolling in place. Parralax scrolling was repositioning background and content based on mouseX value.<br />
Now when a user clicks away from the browser to any other application mouseX valuse goes mental. I was getting something like -1787232.</p>
<p>Apparently Adobe is already working on it, but when is it going to be realeased is unknown. Quick fix for this would be to wrap whatever you are doing by checking if the mouseX value is actually within the stage:</p>
<p><strong>if (mouseX > 0 &#038;&#038; mouseX < stage.stage.width)<br />
{<br />
       // do stuff<br />
}</strong></p>
<p>You obviuosly need to make sure you have access to stage as well.</p>
<p>I hope that helps. It is really painfull to fix if you don&#8217;t have access to a mac and even if you do you would probably need to install FF, content debugger, flash tracer, etc. etc. Remembering this will save you from all of that <img src='http://tomkordys.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://tomkordys.net/blog/2009/09/17/flash-player-bug-content-disappearing-on-macs-when-mousex-used/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

