<?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: Learning to create a scanning cursor that shows the mouse coordinates</title>
	<atom:link href="http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/</link>
	<description>Learn Flash easily.</description>
	<lastBuildDate>Mon, 15 Mar 2010 08:23:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: braj</title>
		<link>http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/comment-page-1/#comment-922</link>
		<dc:creator>braj</dc:creator>
		<pubDate>Tue, 06 Jan 2009 03:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=455#comment-922</guid>
		<description>why mouse cursor always down in left side , what mechanism</description>
		<content:encoded><![CDATA[<p>why mouse cursor always down in left side , what mechanism</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/comment-page-1/#comment-755</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 01 Dec 2008 10:49:23 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=455#comment-755</guid>
		<description>Luka,

Any chance you could suggest how to keep the scanning cursor from continually triggering a mc? Everything you explained works great but when I roll the cursor over a mc it triggers the mc over and over as I roll over the hit spot. I&#039;m using a mc instead of a button. I want the mc to play only once while in the area. Make sense? 

Here&#039;s my code.

Mouse.hide();
crosshair.startDrag(true);

btn_mc.buttonMode = true;
btn_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);

btn1_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);
btn1_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);

function onButtonOver(e:MouseEvent):void 

{
	e.currentTarget.gotoAndPlay(&quot;over&quot;);
}

function onButtonOut(e:MouseEvent):void 

{
	e.currentTarget.gotoAndPlay(&quot;out&quot;);
}

btn_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void 

{
    navigateToURL(new URLRequest(&quot;http://www.arcutech.com&quot;));
}</description>
		<content:encoded><![CDATA[<p>Luka,</p>
<p>Any chance you could suggest how to keep the scanning cursor from continually triggering a mc? Everything you explained works great but when I roll the cursor over a mc it triggers the mc over and over as I roll over the hit spot. I&#8217;m using a mc instead of a button. I want the mc to play only once while in the area. Make sense? </p>
<p>Here&#8217;s my code.</p>
<p>Mouse.hide();<br />
crosshair.startDrag(true);</p>
<p>btn_mc.buttonMode = true;<br />
btn_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);<br />
btn_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);</p>
<p>btn1_mc.addEventListener(MouseEvent.ROLL_OVER, onButtonOver);<br />
btn1_mc.addEventListener(MouseEvent.ROLL_OUT, onButtonOut);</p>
<p>function onButtonOver(e:MouseEvent):void </p>
<p>{<br />
	e.currentTarget.gotoAndPlay(&#8220;over&#8221;);<br />
}</p>
<p>function onButtonOut(e:MouseEvent):void </p>
<p>{<br />
	e.currentTarget.gotoAndPlay(&#8220;out&#8221;);<br />
}</p>
<p>btn_mc.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);<br />
function mouseDownHandler(event:MouseEvent):void </p>
<p>{<br />
    navigateToURL(new URLRequest(&#8220;http://www.arcutech.com&#8221;));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luka</title>
		<link>http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/comment-page-1/#comment-569</link>
		<dc:creator>Luka</dc:creator>
		<pubDate>Tue, 18 Nov 2008 10:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=455#comment-569</guid>
		<description>&lt;b&gt;Doug&lt;/b&gt;: Stick around. Learning from different sources is cool, as you progress you will find advanced tutorials here.</description>
		<content:encoded><![CDATA[<p><b>Doug</b>: Stick around. Learning from different sources is cool, as you progress you will find advanced tutorials here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://flashexplained.com/design/learning-to-create-a-scanning-cursor-that-shows-the-mouse-coordinates/comment-page-1/#comment-456</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Wed, 12 Nov 2008 12:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://flashexplained.com/?p=455#comment-456</guid>
		<description>Luka,

This tute has been extremely helpful. I use lyda.comtraining videos but this written tutorial, with explaination of actionscript, works for me at my current skill level. Thanks..

Doug</description>
		<content:encoded><![CDATA[<p>Luka,</p>
<p>This tute has been extremely helpful. I use lyda.comtraining videos but this written tutorial, with explaination of actionscript, works for me at my current skill level. Thanks..</p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>
