<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Graphics Class clear() Method</title>
	<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/</link>
	<description>A digital supplement for the O'Reilly book</description>
	<pubDate>Tue, 07 Sep 2010 08:13:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Justin</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-1342</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Fri, 05 Dec 2008 06:38:59 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-1342</guid>
		<description>That is a great little action script! Thanks for sharing!</description>
		<content:encoded><![CDATA[<p>That is a great little action script! Thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-668</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Fri, 10 Oct 2008 14:58:05 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-668</guid>
		<description>@manh, the code you cited updates the current x and y position of each point in the array. In the case of x, it adds half the distance between the x values of the current and previous points in the array. In the case of y, it does the same thing but also adds 1 to the distance before dividing. The equations can be read like this:

new x of current point in loop equals (x of previous point in loop minus x of current point in loop) divided by two

new y of current point in loop equals (y of previous point in loop plus 1 minus y of current point in loop) divided by two</description>
		<content:encoded><![CDATA[<p>@manh, the code you cited updates the current x and y position of each point in the array. In the case of x, it adds half the distance between the x values of the current and previous points in the array. In the case of y, it does the same thing but also adds 1 to the distance before dividing. The equations can be read like this:</p>
<p>new x of current point in loop equals (x of previous point in loop minus x of current point in loop) divided by two</p>
<p>new y of current point in loop equals (y of previous point in loop plus 1 minus y of current point in loop) divided by two</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manh</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-667</link>
		<dc:creator>manh</dc:creator>
		<pubDate>Fri, 10 Oct 2008 14:10:40 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-667</guid>
		<description>I don't know effect of this code

&lt;pre class='code'&gt;
points[i].x += (points[i-1].x - points[i].x) / 2;
points[i].y += ((points[i-1].y) + 1 - points[i].y) / 2;
&lt;/pre&gt;

can you explain for me!

thank you very much.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know effect of this code</p>
<pre class='code'>
points[i].x += (points[i-1].x - points[i].x) / 2;
points[i].y += ((points[i-1].y) + 1 - points[i].y) / 2;
</pre>
<p>can you explain for me!</p>
<p>thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: al_wleed</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-621</link>
		<dc:creator>al_wleed</dc:creator>
		<pubDate>Mon, 29 Sep 2008 17:26:59 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-621</guid>
		<description>thank you so much</description>
		<content:encoded><![CDATA[<p>thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Larry Kolopajlo</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-533</link>
		<dc:creator>Larry Kolopajlo</dc:creator>
		<pubDate>Wed, 17 Sep 2008 01:16:31 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-533</guid>
		<description>Nice graphics.  I'm learning ActionScript 3 and this type of thing is fun and motivates me tl learn more.</description>
		<content:encoded><![CDATA[<p>Nice graphics.  I&#8217;m learning ActionScript 3 and this type of thing is fun and motivates me tl learn more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graphic Design</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-118</link>
		<dc:creator>Graphic Design</dc:creator>
		<pubDate>Mon, 16 Jun 2008 17:25:43 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-118</guid>
		<description>This is great! thanks for the post as I love action script and never thought to use " clear " in this manor! GREAT POST!!</description>
		<content:encoded><![CDATA[<p>This is great! thanks for the post as I love action script and never thought to use &#8221; clear &#8221; in this manor! GREAT POST!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michel</title>
		<link>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-72</link>
		<dc:creator>michel</dc:creator>
		<pubDate>Thu, 15 May 2008 15:59:38 +0000</pubDate>
		<guid>http://www.learningactionscript3.com/2008/02/20/graphics-class-clear-method/#comment-72</guid>
		<description>Thanx</description>
		<content:encoded><![CDATA[<p>Thanx</p>
]]></content:encoded>
	</item>
</channel>
</rss>
