<?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: [Learn] AS2 to AS3 EnterFrame events</title>
	<atom:link href="http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/</link>
	<description>Flash and ActionScript for the masses. With a little Python thrown in.</description>
	<lastBuildDate>Sun, 22 Aug 2010 03:30:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: mindfocker</title>
		<link>http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/comment-page-1/#comment-854</link>
		<dc:creator>mindfocker</dc:creator>
		<pubDate>Fri, 14 Aug 2009 10:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://mindfock.wordpress.com/?p=6#comment-854</guid>
		<description>Yeah, sorry about that. Like I&#039;ve said on the post, it was what I understood when starting out learning AS3.. I got confused. 
I just forgot about this post over the months.. Thanks for clearing this up WORMSS.
Again, I apologize for the confusion. 
I&#039;ll edit this post later when I get home. Cheers! :)</description>
		<content:encoded><![CDATA[<p>Yeah, sorry about that. Like I&#8217;ve said on the post, it was what I understood when starting out learning AS3.. I got confused.<br />
I just forgot about this post over the months.. Thanks for clearing this up WORMSS.<br />
Again, I apologize for the confusion.<br />
I&#8217;ll edit this post later when I get home. Cheers! <img src='http://blog.mindfock.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WORMSS</title>
		<link>http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/comment-page-1/#comment-852</link>
		<dc:creator>WORMSS</dc:creator>
		<pubDate>Fri, 14 Aug 2009 09:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://mindfock.wordpress.com/?p=6#comment-852</guid>
		<description>Sorry to say this, but you have actually Missed the whole point of the new addEventListener in AS3
...
function moveBox(e:Event):void {
this.x += 1; // WRONG
}
box.addEventListener(Event.ENTER_FRAME, moveBox);

you are not Moving the Box, You are moving the Timeline/Class Object

in as3, &#039;this&#039; ALWAYS refers to the Timeline/Class and does not change depending on the object calling the event.
to reference the object you use &quot;e.target&quot; [or &quot;e.currentTarget&quot;] // there are differences which I wont go into.</description>
		<content:encoded><![CDATA[<p>Sorry to say this, but you have actually Missed the whole point of the new addEventListener in AS3<br />
&#8230;<br />
function moveBox(e:Event):void {<br />
this.x += 1; // WRONG<br />
}<br />
box.addEventListener(Event.ENTER_FRAME, moveBox);</p>
<p>you are not Moving the Box, You are moving the Timeline/Class Object</p>
<p>in as3, &#8216;this&#8217; ALWAYS refers to the Timeline/Class and does not change depending on the object calling the event.<br />
to reference the object you use &#8220;e.target&#8221; [or "e.currentTarget"] // there are differences which I wont go into.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mindfocker</title>
		<link>http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/comment-page-1/#comment-461</link>
		<dc:creator>mindfocker</dc:creator>
		<pubDate>Thu, 18 Jun 2009 22:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://mindfock.wordpress.com/?p=6#comment-461</guid>
		<description>Hi Noah, which version are you talking about, AS2 or AS3?</description>
		<content:encoded><![CDATA[<p>Hi Noah, which version are you talking about, AS2 or AS3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Noah</title>
		<link>http://blog.mindfock.com/learn-as2-to-as3-enterframe-events/comment-page-1/#comment-460</link>
		<dc:creator>Noah</dc:creator>
		<pubDate>Thu, 18 Jun 2009 09:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://mindfock.wordpress.com/?p=6#comment-460</guid>
		<description>Hey, sorry but is this code a little wrong? Cuz when I try it out, &#039;this&#039; refers to the MainTimeline, not the object... :S</description>
		<content:encoded><![CDATA[<p>Hey, sorry but is this code a little wrong? Cuz when I try it out, &#8216;this&#8217; refers to the MainTimeline, not the object&#8230; :S</p>
]]></content:encoded>
	</item>
</channel>
</rss>
