<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Building games in flash]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Mon, 23 Nov 2009 10:10:26 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment3470</link><description><![CDATA[Is it better to put the 'movement-code' into the mainframe, instead of putting it into each specific object you want to move?<br/><br/>
(Comment posted by Mats at 10:57 am, Sat 26th May 2007)]]></description><author>no@spam.com (Mats)</author><pubDate><![CDATA[Sat, 26 May 2007 10:57:17 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment3470</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment5046</link><description><![CDATA[It was a bit tough to follow but with a little patience I managed to get the code to work. This tutorial was really helpful thanks for sharing.<br/><br/>
(Comment posted by Joanna at 8:01 pm, Mon 30th Jul 2007)]]></description><author>no@spam.com (Joanna)</author><pubDate><![CDATA[Mon, 30 Jul 2007 20:01:49 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment5046</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment7415</link><description><![CDATA[I've just learned on actionscript.org that its better practice to replace onEnterFrame with the more OOP event listener: eg.

var keyListener:Object = new Object();
keyListener.onKeyDown = moveStuff;
Key.addListener(keyListener);

function moveStuff() {
if (Key.isDown(Key.LEFT)) {
_root.box_mc._x -= 5;
}
if (Key.isDown(Key.RIGHT)) {
_root.box_mc._x += 5;
}
if (Key.isDown(Key.UP)) {
_root.box_mc._y -= 5;
}
if (Key.isDown(Key.DOWN)) {
_root.box_mc._y += 5;
}
}

I found the tutorial extremely beneficial and useful.

Thanks



Colm<br/><br/>
(Comment posted by Colm Brazel at 5:20 am, Fri 9th Nov 2007)]]></description><author>no@spam.com (Colm Brazel)</author><pubDate><![CDATA[Fri, 09 Nov 2007 05:20:10 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment7415</guid></item><item><title><![CDATA[Comment #4]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment7518</link><description><![CDATA[If you cant get the ball to duplicate make sure to implement proper capitalization on "ball_mc.duplicatemovieclip" as it wouldn't work until I changed it to "ball_mc.duplicateMovieClip"

<br/><br/>
(Comment posted by Thomas Soles at 8:02 pm, Wed 14th Nov 2007)]]></description><author>no@spam.com (Thomas Soles)</author><pubDate><![CDATA[Wed, 14 Nov 2007 20:02:18 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment7518</guid></item><item><title><![CDATA[Comment #5]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13094</link><description><![CDATA[the spacebar makes the square grow/shrink is that glitch i didn't see it mentioned in the coding<br/><br/>
(Comment posted by John at 10:22 pm, Tue 9th Jun 2009)]]></description><author>no@spam.com (John)</author><pubDate><![CDATA[Tue, 09 Jun 2009 22:22:55 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13094</guid></item><item><title><![CDATA[Comment #6]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13404</link><description><![CDATA[@john
if (Key.getAscii() == 32) {        box_mc._xscale=box_mc._yscale-=5;}
Space=Ascii 32
and the whole time i typed this mine was open... hehe<br/><br/>
(Comment posted by Sarracenia at 9:09 pm, Mon 31st Aug 2009)]]></description><author>no@spam.com (Sarracenia)</author><pubDate><![CDATA[Mon, 31 Aug 2009 21:09:58 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13404</guid></item><item><title><![CDATA[Comment #7]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13532</link><description><![CDATA[guy i have a pb with this
the duplicate function don't work for me :S
how could it be?<br/><br/>
(Comment posted by wielie at 10:44 am, Sun 4th Oct 2009)]]></description><author>no@spam.com (wielie)</author><pubDate><![CDATA[Sun, 04 Oct 2009 10:44:42 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13532</guid></item><item><title><![CDATA[Comment #8]]></title><link>http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13534</link><description><![CDATA[Does this code apply for AS3? i'm working with flash cs4.<br/><br/>
(Comment posted by Michel at 4:10 am, Mon 5th Oct 2009)]]></description><author>no@spam.com (Michel)</author><pubDate><![CDATA[Mon, 05 Oct 2009 04:10:00 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/52/1/Building-games-in-flash/Page1.html#Comment13534</guid></item></channel></rss>