<?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: Simple Projectile Motion]]></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 13:34:34 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12585</link><description><![CDATA[Very cool tutorial. Thank you Immanuel!

If someone wants the flash, you can get it here:
http://homepage.mac.com/sailing/simple_projectile_motion.fla

A few stumbling blocks for my 11 year old:
a) how do you make dynamic text? we made it by making a text field and then changing it from static text to dynamic text in the property inspector.
b) to give graphics an instance name, we converted the graphic to a symbol and then created the instance name in the property inspector (otherwise the arrows did not respond when you clicked on them).
c) we added static text on top of the arrows with the labels 'angle' and 'speed' to remind us which one was which.
d) we played a game to empirically validate that an angle around 45 degrees provided the longest projectile distance for a given speed. (and that made my 11 year old realize that if he wanted to throw a ball as far as he could, he should try to aim for a 45 degree angle.)
e) if anyone knows how to make the code wait for a user to press the fire button before launching, that would be fun to learn.
thanks, bry<br/><br/>
(Comment posted by bry at 12:51 am, Sun 1st Feb 2009)]]></description><author>no@spam.com (bry)</author><pubDate><![CDATA[Sun, 01 Feb 2009 00:51:39 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12585</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12601</link><description><![CDATA[Forgot to say it's ActionScript 2.0<br/><br/>
(Comment posted by ako at 1:59 pm, Wed 4th Feb 2009)]]></description><author>no@spam.com (ako)</author><pubDate><![CDATA[Wed, 04 Feb 2009 13:59:37 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12601</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12844</link><description><![CDATA[Very nice - easy to understand

To stop it automatically shooting at the start, remove these lines of code from the first keyframe:
var cur_speed_x:Number=cur_speed*Math.cos(angle*Math.PI/180);var cur_speed_y:Number=cur_speed*Math.sin(angle*Math.PI/180);<br/><br/>
(Comment posted by Corey at 5:26 am, Sun 5th Apr 2009)]]></description><author>no@spam.com (Corey)</author><pubDate><![CDATA[Sun, 05 Apr 2009 05:26:17 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment12844</guid></item><item><title><![CDATA[Comment #4]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13568</link><description><![CDATA[Very, VERY easy to understand. I've been programming flash for like, 2days now :) and i'm catching on quick. even I was able to understand this, and to the first response (i don't know exactly how to program it), but wouldn't you create a button and then use an event listener to fire the function?<br/><br/>
(Comment posted by Clay at 1:20 pm, Tue 13th Oct 2009)]]></description><author>no@spam.com (Clay)</author><pubDate><![CDATA[Tue, 13 Oct 2009 13:20:03 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13568</guid></item><item><title><![CDATA[Comment #5]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13678</link><description><![CDATA[exactly what i needed ,-) brillant easy explaination, great job. thanks a lot!<br/><br/>
(Comment posted by uhumon at 5:08 am, Thu 12th Nov 2009)]]></description><author>no@spam.com (uhumon)</author><pubDate><![CDATA[Thu, 12 Nov 2009 05:08:19 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13678</guid></item><item><title><![CDATA[Comment #6]]></title><link>http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13700</link><description><![CDATA[So easy explaination, That's why i am pleased.......<br/><br/>
(Comment posted by sentu at 5:40 am, Wed 18th Nov 2009)]]></description><author>no@spam.com (sentu)</author><pubDate><![CDATA[Wed, 18 Nov 2009 05:40:13 CST]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/840/1/Simple-Projectile-Motion/Page1.html#Comment13700</guid></item></channel></rss>