<?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 Tutorial: Elastic Object Follower</title>
	<atom:link href="http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/</link>
	<description>Web developing in the middle of the night.</description>
	<lastBuildDate>Tue, 07 Sep 2010 06:54:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
	<item>
		<title>By: <img src='http://orangesplotch.com/blog/wp-content/plugins/rpx/images/openid.png'/> mattc</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2907</link>
		<dc:creator><img src='http://orangesplotch.com/blog/wp-content/plugins/rpx/images/openid.png'/> mattc</dc:creator>
		<pubDate>Sat, 05 Sep 2009 14:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2907</guid>
		<description>I&#039;ve sent you an email response so you can email me back with the details, but I&#039;m posting a comment here as well, so hopefully help anyone else with the same problem. The best way to troubleshoot something like this is to put a trace statement in the FollowMouse function. This will let you know if the function is running every frame. If you put leader in the trace, you can see if the leader is properly linked to the MovieClip. Usually with something like this it is a problem with leader being undefined. Here is a sample trace statement to show you what I mean:
&lt;code&gt;trace (&#039;leader: &#039; + leader);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve sent you an email response so you can email me back with the details, but I&#8217;m posting a comment here as well, so hopefully help anyone else with the same problem. The best way to troubleshoot something like this is to put a trace statement in the FollowMouse function. This will let you know if the function is running every frame. If you put leader in the trace, you can see if the leader is properly linked to the MovieClip. Usually with something like this it is a problem with leader being undefined. Here is a sample trace statement to show you what I mean:<br />
<code>trace ('leader: ' + leader);</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger_u</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2906</link>
		<dc:creator>roger_u</dc:creator>
		<pubDate>Fri, 04 Sep 2009 21:49:07 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2906</guid>
		<description>By the way the mouse follow Action Script 2.0 works great running CS3 (v9.0). Thanks!</description>
		<content:encoded><![CDATA[<p>By the way the mouse follow Action Script 2.0 works great running CS3 (v9.0). Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roger_u</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2905</link>
		<dc:creator>roger_u</dc:creator>
		<pubDate>Fri, 04 Sep 2009 21:46:07 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2905</guid>
		<description>I am also trying to get an object to follow another object and its driving me crazy! I created a static movie clip labeled it &#039;leader&#039; in the properties menu and attached it to a motion guide. Then in the script I changed mouseX and mouseY to leader.x and leader.y, no luck.

I added frames in the actions layer to match the duration of the leader object still no luck. Tried inserting gotoAndStart(1); to the end of the script, no luck. I&#039;ve been searching all day and I feel like I&#039;m so close. This is killing me! You would think this would be a simple beginners AS trick but there is no documentation anywhere.

Any reply would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I am also trying to get an object to follow another object and its driving me crazy! I created a static movie clip labeled it &#8216;leader&#8217; in the properties menu and attached it to a motion guide. Then in the script I changed mouseX and mouseY to leader.x and leader.y, no luck.</p>
<p>I added frames in the actions layer to match the duration of the leader object still no luck. Tried inserting gotoAndStart(1); to the end of the script, no luck. I&#8217;ve been searching all day and I feel like I&#8217;m so close. This is killing me! You would think this would be a simple beginners AS trick but there is no documentation anywhere.</p>
<p>Any reply would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Elffriend</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2866</link>
		<dc:creator>Daniel Elffriend</dc:creator>
		<pubDate>Sat, 16 May 2009 14:07:26 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2866</guid>
		<description>dude.. this is awesome... really----really---really--- COOK little fella...
wonderful script....

thanks a alot... ur awesome...</description>
		<content:encoded><![CDATA[<p>dude.. this is awesome&#8230; really&#8212;-really&#8212;really&#8212; COOK little fella&#8230;<br />
wonderful script&#8230;.</p>
<p>thanks a alot&#8230; ur awesome&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: le_foosh</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2830</link>
		<dc:creator>le_foosh</dc:creator>
		<pubDate>Fri, 20 Feb 2009 22:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2830</guid>
		<description>Hi,

I&#039;m not sure what I&#039;m doing wrong but I can&#039;t get the follower to follow anything but the mouse!?

I tried the &#039;leader&#039; code but it wont follow anything but the mouse...?

Help!?

Kris</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m not sure what I&#8217;m doing wrong but I can&#8217;t get the follower to follow anything but the mouse!?</p>
<p>I tried the &#8216;leader&#8217; code but it wont follow anything but the mouse&#8230;?</p>
<p>Help!?</p>
<p>Kris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sacen</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2791</link>
		<dc:creator>Sacen</dc:creator>
		<pubDate>Wed, 21 Jan 2009 23:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2791</guid>
		<description>Hi there

I got it working, I converted the newmouse to MC and on the newly created MC I click on linkage then in the Class fill enter : follower and Base Class fill: Follower 

Base Class refer to the Follower.as file 

Thanks for the code again, this really helped alot

Cheers 
Sacen</description>
		<content:encoded><![CDATA[<p>Hi there</p>
<p>I got it working, I converted the newmouse to MC and on the newly created MC I click on linkage then in the Class fill enter : follower and Base Class fill: Follower </p>
<p>Base Class refer to the Follower.as file </p>
<p>Thanks for the code again, this really helped alot</p>
<p>Cheers<br />
Sacen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sacen</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2788</link>
		<dc:creator>Sacen</dc:creator>
		<pubDate>Tue, 20 Jan 2009 06:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2788</guid>
		<description>Hi thanks for the as code, I&#039;m not sure how you put it together with AS3. I need to make a MC and linkage it? I&#039;m really new to AS3 but my project require to use as3, any help will be great

Thanks in advance 

Sacen</description>
		<content:encoded><![CDATA[<p>Hi thanks for the as code, I&#8217;m not sure how you put it together with AS3. I need to make a MC and linkage it? I&#8217;m really new to AS3 but my project require to use as3, any help will be great</p>
<p>Thanks in advance </p>
<p>Sacen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-2539</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Mon, 01 Dec 2008 11:04:42 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-2539</guid>
		<description>FUNtastic. I learned soooo much.</description>
		<content:encoded><![CDATA[<p>FUNtastic. I learned soooo much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abel</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-646</link>
		<dc:creator>Abel</dc:creator>
		<pubDate>Thu, 14 Aug 2008 15:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-646</guid>
		<description>Fantastic!

I learned at least three new things about 30.0 in this short tute...!</description>
		<content:encoded><![CDATA[<p>Fantastic!</p>
<p>I learned at least three new things about 30.0 in this short tute&#8230;!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: <img src='http://orangesplotch.com/blog/wp-content/plugins/rpx/images/openid.png'/> mattc</title>
		<link>http://orangesplotch.com/blog/flash-tutorial-elastic-object-follower/comment-page-1/#comment-316</link>
		<dc:creator><img src='http://orangesplotch.com/blog/wp-content/plugins/rpx/images/openid.png'/> mattc</dc:creator>
		<pubDate>Wed, 02 Jul 2008 21:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=29#comment-316</guid>
		<description>Thanks for the update. I am not sure what is causing the error, but if anyone has any ideas, please let me know. I&#039;d like to get this resolved so future scripts won&#039;t have the same bug.</description>
		<content:encoded><![CDATA[<p>Thanks for the update. I am not sure what is causing the error, but if anyone has any ideas, please let me know. I&#8217;d like to get this resolved so future scripts won&#8217;t have the same bug.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
