<?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: AS3 Flash Games for Beginners: Character Movement / Handling Multiple Keypresses</title>
	<atom:link href="http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/feed" rel="self" type="application/rss+xml" />
	<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses</link>
	<description>Learn to Make Flash Games, Applications, and Websites</description>
	<lastBuildDate>Fri, 16 Dec 2011 19:32:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: sean steezy</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-6203</link>
		<dc:creator>sean steezy</dc:creator>
		<pubDate>Wed, 16 Nov 2011 02:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-6203</guid>
		<description>i am new to OOP and using all these classes and shiz, I usually just hack away until something works... but this is great, I am understanding so much more. so thank you for teaching.

But I have a question, about getting touch gestures to control the object instead of keystrokes... would I have to create a class to handle &#039;touch and drag events&#039; similar to the KeyObject class and implement it that way? And I could then create another class to handle &#039;pinch to zoom&#039;? I wish I could just pop it in the ship class but that doesn&#039;t work (#1046 on the 2 functions for start &amp; stop dragging)</description>
		<content:encoded><![CDATA[<p>i am new to OOP and using all these classes and shiz, I usually just hack away until something works&#8230; but this is great, I am understanding so much more. so thank you for teaching.</p>
<p>But I have a question, about getting touch gestures to control the object instead of keystrokes&#8230; would I have to create a class to handle &#8216;touch and drag events&#8217; similar to the KeyObject class and implement it that way? And I could then create another class to handle &#8216;pinch to zoom&#8217;? I wish I could just pop it in the ship class but that doesn&#8217;t work (#1046 on the 2 functions for start &amp; stop dragging)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasilis</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-6194</link>
		<dc:creator>Vasilis</dc:creator>
		<pubDate>Mon, 14 Nov 2011 13:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-6194</guid>
		<description>Hello ,

Thanks for the great tutorial!

I fixed the 1136 problem by editing engine file

var ourShip:ship = new ship();
// add stage 
var ourShip:ship = new ship(stage);

Maybe this work for you too</description>
		<content:encoded><![CDATA[<p>Hello ,</p>
<p>Thanks for the great tutorial!</p>
<p>I fixed the 1136 problem by editing engine file</p>
<p>var ourShip:ship = new ship();<br />
// add stage<br />
var ourShip:ship = new ship(stage);</p>
<p>Maybe this work for you too</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-6073</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 23 Sep 2011 02:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-6073</guid>
		<description>I&#039;ve checked to make sure all linkage is correct and all spelling is right, caps and all, and I keep getting error 1046 at line 13 (private var key:KeyObject;) &quot;type was not found or was not a compile-time constant: KeyObject.&quot; and error 1180 at line 19 (key = new KeyObject (stageRef);) &quot;Call to a possibly undefined method KeyObject.&quot;  Anyone have any idea what&#039;s up with that?

I&#039;m loving these tutorials so far, thank you so much for writing them, they&#039;ve really helped me a lot.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve checked to make sure all linkage is correct and all spelling is right, caps and all, and I keep getting error 1046 at line 13 (private var key:KeyObject;) &#8220;type was not found or was not a compile-time constant: KeyObject.&#8221; and error 1180 at line 19 (key = new KeyObject (stageRef);) &#8220;Call to a possibly undefined method KeyObject.&#8221;  Anyone have any idea what&#8217;s up with that?</p>
<p>I&#8217;m loving these tutorials so far, thank you so much for writing them, they&#8217;ve really helped me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: StudioFael</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-6072</link>
		<dc:creator>StudioFael</dc:creator>
		<pubDate>Mon, 19 Sep 2011 11:43:05 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-6072</guid>
		<description>Thank you for this Tutorial!</description>
		<content:encoded><![CDATA[<p>Thank you for this Tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: theGrundy</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-6003</link>
		<dc:creator>theGrundy</dc:creator>
		<pubDate>Sat, 02 Jul 2011 06:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-6003</guid>
		<description>1137 Incorrect number of arguments. Expected no more then 0

I was getting this error and it was as TheKanos said

my linkage was not correct because I had named my action script (as) file using a lower case s and given my class an upper case S for Ship.

I needed to ensure the class name and as file name where the same. Then it all linked up fine.</description>
		<content:encoded><![CDATA[<p>1137 Incorrect number of arguments. Expected no more then 0</p>
<p>I was getting this error and it was as TheKanos said</p>
<p>my linkage was not correct because I had named my action script (as) file using a lower case s and given my class an upper case S for Ship.</p>
<p>I needed to ensure the class name and as file name where the same. Then it all linked up fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: demi-god</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-5922</link>
		<dc:creator>demi-god</dc:creator>
		<pubDate>Fri, 15 Apr 2011 16:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-5922</guid>
		<description>I&#039;m stuck at
the ship is gone again

Step 2: Enter Frame Listener
Engine.as, line 17:
var ourShip:Ship = new Ship(stage);

But if I write it like
the ship comes back bus I can&#039;t move it

var ourShip:Ship = new Ship();</description>
		<content:encoded><![CDATA[<p>I&#8217;m stuck at<br />
the ship is gone again</p>
<p>Step 2: Enter Frame Listener<br />
Engine.as, line 17:<br />
var ourShip:Ship = new Ship(stage);</p>
<p>But if I write it like<br />
the ship comes back bus I can&#8217;t move it</p>
<p>var ourShip:Ship = new Ship();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: demi-god</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-5921</link>
		<dc:creator>demi-god</dc:creator>
		<pubDate>Fri, 15 Apr 2011 15:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-5921</guid>
		<description>hello,

I&#039;ve made the code as I used to do but when I ctrl+enter my ship doesn&#039;t move what can be wrong???</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>I&#8217;ve made the code as I used to do but when I ctrl+enter my ship doesn&#8217;t move what can be wrong???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dash</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-5917</link>
		<dc:creator>dash</dc:creator>
		<pubDate>Tue, 12 Apr 2011 17:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-5917</guid>
		<description>can anyone help me im lost here when im run the CTRL+ENTER its cames up with error like this .ive already copy paste the keyobject.as into all folder hoping no error but its say like this whot should i do!! help me pls!!!

compiler error
C:\Users\dash\Documents\GAME\KeyObject.as, Line 1
description
5001: The name of package &#039;com.senocular.utils&#039; does not reflect the location of this file. Please change the package definition&#039;s name inside this file, or move the file. C:\Users\dash\Documents\GAME\KeyObject.as



reply me at here or my email @devildash47@yahoo.com</description>
		<content:encoded><![CDATA[<p>can anyone help me im lost here when im run the CTRL+ENTER its cames up with error like this .ive already copy paste the keyobject.as into all folder hoping no error but its say like this whot should i do!! help me pls!!!</p>
<p>compiler error<br />
C:\Users\dash\Documents\GAME\KeyObject.as, Line 1<br />
description<br />
5001: The name of package &#8216;com.senocular.utils&#8217; does not reflect the location of this file. Please change the package definition&#8217;s name inside this file, or move the file. C:\Users\dash\Documents\GAME\KeyObject.as</p>
<p>reply me at here or my email @devildash47@yahoo.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-5355</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Mon, 31 Jan 2011 20:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-5355</guid>
		<description>@Scriptnoob, it&#039;s great to understand every line of code that makes your project run. And congrats to you if every project you write you read and make sense of every line that makes it up. However, there&#039;s some code I have minimal desire to understand and am very thankful someone else wrote it for me. TweenMax and TweenLite for example. I&#039;m just happy it works, I don&#039;t really care if I know every last detail of how it works. 

Besides, if you are going to have this mentality, you better ask Adobe to give you the code for how MovieClip, Sprite, and every other class they wrote for Flash works. Sometimes, you just trust something works and go with it.</description>
		<content:encoded><![CDATA[<p>@Scriptnoob, it&#8217;s great to understand every line of code that makes your project run. And congrats to you if every project you write you read and make sense of every line that makes it up. However, there&#8217;s some code I have minimal desire to understand and am very thankful someone else wrote it for me. TweenMax and TweenLite for example. I&#8217;m just happy it works, I don&#8217;t really care if I know every last detail of how it works. </p>
<p>Besides, if you are going to have this mentality, you better ask Adobe to give you the code for how MovieClip, Sprite, and every other class they wrote for Flash works. Sometimes, you just trust something works and go with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scriptnoob</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-character-movement-handling-multiple-keypresses/comment-page-1#comment-5350</link>
		<dc:creator>Scriptnoob</dc:creator>
		<pubDate>Thu, 27 Jan 2011 10:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=64#comment-5350</guid>
		<description>I love this tutorial. Very informative and nice, up to the point where you drag in senoculars code. While I am sure that is a great bit of code and all, I am more interested in learning to write my own than to just copy paste someone elses code. I dont get an understanding of it that way.

Now I have some weird output error TypeError: Error #1009: Cannot access a property or method of a null object reference.</description>
		<content:encoded><![CDATA[<p>I love this tutorial. Very informative and nice, up to the point where you drag in senoculars code. While I am sure that is a great bit of code and all, I am more interested in learning to write my own than to just copy paste someone elses code. I dont get an understanding of it that way.</p>
<p>Now I have some weird output error TypeError: Error #1009: Cannot access a property or method of a null object reference.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

