<?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: Firing Weapons with Delays</title>
	<atom:link href="http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/feed" rel="self" type="application/rss+xml" />
	<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays</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: user01</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-6102</link>
		<dc:creator>user01</dc:creator>
		<pubDate>Sat, 29 Oct 2011 16:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-6102</guid>
		<description>thanks dude nice clear instructions and breakdown.</description>
		<content:encoded><![CDATA[<p>thanks dude nice clear instructions and breakdown.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JestaBlunt</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-5282</link>
		<dc:creator>JestaBlunt</dc:creator>
		<pubDate>Thu, 04 Nov 2010 22:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-5282</guid>
		<description>hi,

got that one through too, cant wait to get to the next page. this still and obvious is one of the best tutorials i found. i learned more things than expected, like keeping code clean and expendable and important things about all the commands you used, cause you are explaining it ;)

i will search the whole page after finishing the whole package ;) keep it on, as i said, its just great how you serve the material.

peace
jesta</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>got that one through too, cant wait to get to the next page. this still and obvious is one of the best tutorials i found. i learned more things than expected, like keeping code clean and expendable and important things about all the commands you used, cause you are explaining it <img src='http://asgamer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>i will search the whole page after finishing the whole package <img src='http://asgamer.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  keep it on, as i said, its just great how you serve the material.</p>
<p>peace<br />
jesta</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-5177</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Wed, 14 Jul 2010 01:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-5177</guid>
		<description>First I&#039;d like to thank you for making the most comprehensive beginners tutorial for AS3 that I&#039;ve been able to find. I&#039;ve been searching hard and getting very frustrated, but this is without a doubt the best I&#039;ve found.

With that said, I&#039;m stuck. I&#039;ve just finished the part of the tutorial where you get your ship to fire lasers, and mine isn&#039;t firing any lasers. Everything else works perfectly. I&#039;ve quadruple checked my code and unless my bleeding eyes deceive me, it&#039;s identical to yours. Obviously this must be wrong if I&#039;m having an issue, right?

The weird thing about this situation is that I receive no compiler errors but rather... 

Argument Error #1063: Argument count mismatch on com.asgamer.basics1::Star(). Expected 1, got 0.

at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at com.asgamer.basics1::Engine()

Any ideas? Not sure if this is even being monitored still...</description>
		<content:encoded><![CDATA[<p>First I&#8217;d like to thank you for making the most comprehensive beginners tutorial for AS3 that I&#8217;ve been able to find. I&#8217;ve been searching hard and getting very frustrated, but this is without a doubt the best I&#8217;ve found.</p>
<p>With that said, I&#8217;m stuck. I&#8217;ve just finished the part of the tutorial where you get your ship to fire lasers, and mine isn&#8217;t firing any lasers. Everything else works perfectly. I&#8217;ve quadruple checked my code and unless my bleeding eyes deceive me, it&#8217;s identical to yours. Obviously this must be wrong if I&#8217;m having an issue, right?</p>
<p>The weird thing about this situation is that I receive no compiler errors but rather&#8230; </p>
<p>Argument Error #1063: Argument count mismatch on com.asgamer.basics1::Star(). Expected 1, got 0.</p>
<p>at flash.display::Sprite/constructChildren()<br />
at flash.display::Sprite()<br />
at flash.display::MovieClip()<br />
at com.asgamer.basics1::Engine()</p>
<p>Any ideas? Not sure if this is even being monitored still&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: caina</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4905</link>
		<dc:creator>caina</dc:creator>
		<pubDate>Tue, 11 May 2010 16:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4905</guid>
		<description>awsome! this site is great! god job :)</description>
		<content:encoded><![CDATA[<p>awsome! this site is great! god job <img src='http://asgamer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Confuzzled</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4886</link>
		<dc:creator>Confuzzled</dc:creator>
		<pubDate>Mon, 26 Apr 2010 07:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4886</guid>
		<description>fixed this problem now, needed to add stageRef to my mouse coords call, sorry for the wasted message!</description>
		<content:encoded><![CDATA[<p>fixed this problem now, needed to add stageRef to my mouse coords call, sorry for the wasted message!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Confuzzled</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4885</link>
		<dc:creator>Confuzzled</dc:creator>
		<pubDate>Mon, 26 Apr 2010 07:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4885</guid>
		<description>Hello! 
Congratulations on a fantastic tutorial! Have been trying to tweak things to match my idea but am having trouble making something work and wondered if would be able to advise?
Im trying to add to the code to make the ship point at the mousepointer, Ive added the following to the loop event handler but rather than facing the pointer my movieclip just behaves incredibly erraticly (moves fine but rotates really randomly):

var distanceX : Number = mouseX - x;
var distanceY : Number = mouseY - y;
var angleInRadians : Number = Math.atan2(distanceY, distanceX);
var angleInDegrees : Number = angleInRadians * (180 / Math.PI) + 90;
rotation = angleInDegrees;

Any advice you could give me would be massivley appreciated :)

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Hello!<br />
Congratulations on a fantastic tutorial! Have been trying to tweak things to match my idea but am having trouble making something work and wondered if would be able to advise?<br />
Im trying to add to the code to make the ship point at the mousepointer, Ive added the following to the loop event handler but rather than facing the pointer my movieclip just behaves incredibly erraticly (moves fine but rotates really randomly):</p>
<p>var distanceX : Number = mouseX &#8211; x;<br />
var distanceY : Number = mouseY &#8211; y;<br />
var angleInRadians : Number = Math.atan2(distanceY, distanceX);<br />
var angleInDegrees : Number = angleInRadians * (180 / Math.PI) + 90;<br />
rotation = angleInDegrees;</p>
<p>Any advice you could give me would be massivley appreciated <img src='http://asgamer.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sumit</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4841</link>
		<dc:creator>sumit</dc:creator>
		<pubDate>Fri, 26 Mar 2010 04:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4841</guid>
		<description>hey, im up to the bit with the timer and when i put the timer code on to my ship.as, it gives me an error

it says

ship.as       LINE 115              1158:Syntax Error: missing left brace ({) before the function body and its on the private function fireTimerHandler(e:TimerEvent) : void. 

it still happens if i copy the code from the website and do it, so it couldnt be a mistake i made or sometthing but im confused help please guys?</description>
		<content:encoded><![CDATA[<p>hey, im up to the bit with the timer and when i put the timer code on to my ship.as, it gives me an error</p>
<p>it says</p>
<p>ship.as       LINE 115              1158:Syntax Error: missing left brace ({) before the function body and its on the private function fireTimerHandler(e:TimerEvent) : void. </p>
<p>it still happens if i copy the code from the website and do it, so it couldnt be a mistake i made or sometthing but im confused help please guys?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kingram</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4674</link>
		<dc:creator>kingram</dc:creator>
		<pubDate>Wed, 16 Dec 2009 14:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4674</guid>
		<description>hello everyone,

First of all i am new to this section so i want to thank you for the tutorial and all the questions answers from everybody...! which is helping a lot for my learning experience of AS3.
But i have a &quot;dumb&quot; question if i may, as i never used ActionScript before! How you &quot;Create a new file under directory and fill it with the code&quot;.I am a bit confused and it is not making sense for so far...! I am having headaches learning for the moment but i believe it is for the better...!
Thank you so much to every on and keep up the good work...!

Happy Christmas to you guys.</description>
		<content:encoded><![CDATA[<p>hello everyone,</p>
<p>First of all i am new to this section so i want to thank you for the tutorial and all the questions answers from everybody&#8230;! which is helping a lot for my learning experience of AS3.<br />
But i have a &#8220;dumb&#8221; question if i may, as i never used ActionScript before! How you &#8220;Create a new file under directory and fill it with the code&#8221;.I am a bit confused and it is not making sense for so far&#8230;! I am having headaches learning for the moment but i believe it is for the better&#8230;!<br />
Thank you so much to every on and keep up the good work&#8230;!</p>
<p>Happy Christmas to you guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4581</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Tue, 17 Nov 2009 14:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4581</guid>
		<description>Aro is correct. It&#039;s not the swf with the problem it&#039;s your computer :(</description>
		<content:encoded><![CDATA[<p>Aro is correct. It&#8217;s not the swf with the problem it&#8217;s your computer <img src='http://asgamer.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maelyn</title>
		<link>http://asgamer.com/2009/as3-flash-games-for-beginners-firing-weapons-with-delays/comment-page-1#comment-4579</link>
		<dc:creator>Maelyn</dc:creator>
		<pubDate>Mon, 16 Nov 2009 23:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=141#comment-4579</guid>
		<description>I am getting the same problem with moving up+left and shooting at the same time, though every other direction combination + shoot work as well. And I tested by swapping the y up and down in the if statements.

HOWEVER, this is only an issue with using the arrow keys. Using the numpad arrows (8,4,6,3) allows movement Up+left and shooting at the same time.

Also, when I try and use Keyboard.Z for shoot instead of space.... nothing happens, running Test Movie doesn&#039;t draw the ship or the stars...</description>
		<content:encoded><![CDATA[<p>I am getting the same problem with moving up+left and shooting at the same time, though every other direction combination + shoot work as well. And I tested by swapping the y up and down in the if statements.</p>
<p>HOWEVER, this is only an issue with using the arrow keys. Using the numpad arrows (8,4,6,3) allows movement Up+left and shooting at the same time.</p>
<p>Also, when I try and use Keyboard.Z for shoot instead of space&#8230;. nothing happens, running Test Movie doesn&#8217;t draw the ship or the stars&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

