<?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"
	>
<channel>
	<title>Comments on: Actionscript 2 utility class: Grid</title>
	<atom:link href="http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/</link>
	<description>Personal blog, portfolio &#038; online playground</description>
	<pubDate>Mon, 08 Sep 2008 03:28:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Antti</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-729</link>
		<dc:creator>Antti</dc:creator>
		<pubDate>Tue, 08 May 2007 09:11:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-729</guid>
		<description>Well of course you calculate the coordinates yourself, move stuff around and so on, but sometimes you want to (or well, i do) check. 
A "real world" example: A movieclip doesn't have it's anchor point in the middle, but a bit off. This might be because you want to rotate the mc around something that's not in the middle. If you move the mc, you have to count in that anchor offset, and with the grid you can quickly check it's correct. Still, if you can't come up with a reason to use it, you probably don't need it ;)
It's not a super useful class but can come in handy, something i wrote in like 5min and thought i'd share with you guys. Also it can just be in the background and you just hit your key to show it when you need it (just remove it when the site goes live)</description>
		<content:encoded><![CDATA[<p>Well of course you calculate the coordinates yourself, move stuff around and so on, but sometimes you want to (or well, i do) check.<br />
A &#8220;real world&#8221; example: A movieclip doesn&#8217;t have it&#8217;s anchor point in the middle, but a bit off. This might be because you want to rotate the mc around something that&#8217;s not in the middle. If you move the mc, you have to count in that anchor offset, and with the grid you can quickly check it&#8217;s correct. Still, if you can&#8217;t come up with a reason to use it, you probably don&#8217;t need it <img src='http://www.anttikupila.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
It&#8217;s not a super useful class but can come in handy, something i wrote in like 5min and thought i&#8217;d share with you guys. Also it can just be in the background and you just hit your key to show it when you need it (just remove it when the site goes live)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-727</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Mon, 07 May 2007 22:55:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-727</guid>
		<description>Hi,
that's very cool, but will you kind enough to give a real world example of when to use it? why not just giving coordinates to object on stage when the screen gets bigger via an event listener, why check/compare it with the grid??</description>
		<content:encoded><![CDATA[<p>Hi,<br />
that&#8217;s very cool, but will you kind enough to give a real world example of when to use it? why not just giving coordinates to object on stage when the screen gets bigger via an event listener, why check/compare it with the grid??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antti</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-719</link>
		<dc:creator>Antti</dc:creator>
		<pubDate>Sat, 05 May 2007 13:25:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-719</guid>
		<description>Should work now, changed the default key to space.</description>
		<content:encoded><![CDATA[<p>Should work now, changed the default key to space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ola Muldal</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-718</link>
		<dc:creator>Ola Muldal</dc:creator>
		<pubDate>Sat, 05 May 2007 13:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-718</guid>
		<description>Its not working here either (nor IE or Firefox), just a bluescreen ;-)

(fp 9.0.45, norwegian keyboard)</description>
		<content:encoded><![CDATA[<p>Its not working here either (nor IE or Firefox), just a bluescreen <img src='http://www.anttikupila.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>(fp 9.0.45, norwegian keyboard)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antti</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-675</link>
		<dc:creator>Antti</dc:creator>
		<pubDate>Sun, 29 Apr 2007 13:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-675</guid>
		<description>That's weird - it works for me. I'm guessing it's the keycode (i'm not using an american keyboard)? If so, you could just change the default code in the class or do something like this:

Grid.key = Key.SPACE;
Grid.create( );</description>
		<content:encoded><![CDATA[<p>That&#8217;s weird - it works for me. I&#8217;m guessing it&#8217;s the keycode (i&#8217;m not using an american keyboard)? If so, you could just change the default code in the class or do something like this:</p>
<p>Grid.key = Key.SPACE;<br />
Grid.create( );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B</title>
		<link>http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-674</link>
		<dc:creator>Jon B</dc:creator>
		<pubDate>Sun, 29 Apr 2007 07:42:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.anttikupila.com/flash/actionscript-2-utility-class-grid/#comment-674</guid>
		<description>It doesn't appear to work with Flash Player 9 - both your example above and the when I test the source .fla (inside flash cs3)</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t appear to work with Flash Player 9 - both your example above and the when I test the source .fla (inside flash cs3)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
