<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <body>If I were you, I would add the buttons for the level select page dynamically, store necessary information in an array, and then you could have each button go to whichever frame it needed to based on the information stored about it.</body>
    <body-html>&lt;p&gt;If I were you, I would add the buttons for the level select page dynamically, store necessary information in an array, and then you could have each button go to whichever frame it needed to based on the information stored about it.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-11-17T17:01:59-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1472414</id>
    <post-number type="integer">4</post-number>
    <topic-id type="integer">65269</topic-id>
    <updated-at type="datetime">2009-11-17T17:01:59-08:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href='/forums/9/topics/63583?page=1#posts-1435797'&gt;Iggyshark&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;blockquote&gt;
&lt;p&gt;The area of effectively complete destruction extended to 25 km&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;By that time the release bomber was already in the safe zone about 45 km away.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Had the bomb been full strength, it&amp;#8217;s estimated to have been about to do heavy damage at a range of 170 km.&lt;/p&gt;
&lt;p&gt;The Mityushikha Bay test site is 55,200 km&#178; of land.  How would civilians been killed?&lt;/p&gt;&lt;/blockquote&gt;

Go ahead and open up the calculator application and divide 55200km^2 by 340km (170km is the radius) and you'll find the other side of this square area has a length of about 160km, or an 80 km radius, well in range of the nukes heavy damage.  Not to mention that that is only heavy damage. When Tsar Bomba went off, windows in Sweden were being shattered from the force of the blast.  The USSR knew what they were doing when they limited the bomb.</body>
    <body-html>&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href=&quot;/forums/9/topics/63583?page=1#posts-1435797&quot;&gt;Iggyshark&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;blockquote&gt;&lt;br /&gt;
&lt;p&gt;The area of effectively complete destruction extended to 25 km&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;By that time the release bomber was already in the safe zone about 45 km away.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Had the bomb been full strength, it&amp;#8217;s estimated to have been about to do heavy damage at a range of 170 km.&lt;/p&gt;
&lt;p&gt;The Mityushikha Bay test site is 55,200 km&#178; of land.  How would civilians been killed?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Go ahead and open up the calculator application and divide 55200km^2 by 340km (170km is the radius) and you&amp;#8217;ll find the other side of this square area has a length of about 160km, or an 80 km radius, well in range of the nukes heavy damage.  Not to mention that that is only heavy damage. When Tsar Bomba went off, windows in Sweden were being shattered from the force of the blast.  The &lt;span class=&quot;caps&quot;&gt;USSR&lt;/span&gt; knew what they were doing when they limited the bomb.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-11-06T15:26:11-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">9</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1435883</id>
    <post-number type="integer">22</post-number>
    <topic-id type="integer">63583</topic-id>
    <updated-at type="datetime">2009-11-06T15:26:11-08:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>We should probably forget about any evaluations made by the Bush administration.</body>
    <body-html>&lt;p&gt;We should probably forget about any evaluations made by the Bush administration.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-11-06T14:23:37-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">9</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1435709</id>
    <post-number type="integer">10</post-number>
    <topic-id type="integer">63604</topic-id>
    <updated-at type="datetime">2009-11-06T14:23:37-08:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>It's hard for him MainFrame.  He is from Detroit.</body>
    <body-html>&lt;p&gt;It&amp;#8217;s hard for him MainFrame.  He is from Detroit.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-10-06T18:03:13-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">8</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1350429</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">59568</topic-id>
    <updated-at type="datetime">2009-10-06T18:03:13-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Yes, 21% of Atheists believe in God. That&#8217;s why they&#8217;re Atheists, because they believe in God.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Maybe I&amp;#8217;m just stupid, but this makes no sense to me.&lt;/p&gt;&lt;/blockquote&gt;

It's a little thing called sarcasm.</body>
    <body-html>&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;Yes, 21% of Atheists believe in God. That&#8217;s why they&#8217;re Atheists, because they believe in God.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Maybe I&amp;#8217;m just stupid, but this makes no sense to me.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It&amp;#8217;s a little thing called sarcasm.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-09-28T18:45:39-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">9</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1333503</id>
    <post-number type="integer">18</post-number>
    <topic-id type="integer">58748</topic-id>
    <updated-at type="datetime">2009-09-28T18:46:20-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Anytime I try to download something in Firefox, it opens up the menu and asks you to &quot;Save File&quot; or &quot;Cancel.&quot;  I press &quot;Save File,&quot; the menu disappears and nothing happens.  I've looked everywhere for the files to show up, but they don't and the download list is empty.  Sometimes I can get around it with the Download Helper add-on, but it's really starting to get annoying.  Any suggestions?</body>
    <body-html>&lt;p&gt;Anytime I try to download something in Firefox, it opens up the menu and asks you to &amp;#8220;Save File&amp;#8221; or &amp;#8220;Cancel.&amp;#8221;  I press &amp;#8220;Save File,&amp;#8221; the menu disappears and nothing happens.  I&amp;#8217;ve looked everywhere for the files to show up, but they don&amp;#8217;t and the download list is empty.  Sometimes I can get around it with the Download Helper add-on, but it&amp;#8217;s really starting to get annoying.  Any suggestions?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-09-26T19:39:01-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1328432</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">58507</topic-id>
    <updated-at type="datetime">2009-09-26T19:39:01-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>I would kill your mom.  By the way, I killed your mom.</body>
    <body-html>&lt;p&gt;I would kill your mom.  By the way, I killed your mom.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-09-26T19:26:11-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1328385</id>
    <post-number type="integer">8</post-number>
    <topic-id type="integer">58489</topic-id>
    <updated-at type="datetime">2009-09-26T19:26:11-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>How are you going to be organized without any leaders?  While the idea of everyone working together in harmony is beautiful, it's just not gonna work unless you have a strong leader who can keep the group together and on track.</body>
    <body-html>&lt;p&gt;How are you going to be organized without any leaders?  While the idea of everyone working together in harmony is beautiful, it&amp;#8217;s just not gonna work unless you have a strong leader who can keep the group together and on track.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-09-07T10:48:57-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">8</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1278462</id>
    <post-number type="integer">23</post-number>
    <topic-id type="integer">55923</topic-id>
    <updated-at type="datetime">2009-09-17T04:15:53-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>I'm a big fan of both of those genres, but I would need some examples if we would team up.</body>
    <body-html>&lt;p&gt;I&amp;#8217;m a big fan of both of those genres, but I would need some examples if we would team up.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-08-19T20:08:17-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">8</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1215731</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">53701</topic-id>
    <updated-at type="datetime">2009-09-17T04:03:31-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href='/forums/8/topics/50361?page=1#posts-1127877'&gt;MoonlaughMaster&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href=&quot;/forums/8/topics/50361?page=1#posts-1127642&quot;&gt;THE_DRAGON&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;p&gt;yea&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I have little faith in your game making skills, since you refuse to talk about anything you don&amp;#8217;t like.&lt;/p&gt;&lt;/blockquote&gt;
Not to mention that making a first person game in flash is some pretty advanced programming.</body>
    <body-html>&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href=&quot;/forums/8/topics/50361?page=1#posts-1127877&quot;&gt;MoonlaughMaster&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;blockquote&gt;&lt;cite&gt;Originally posted by &lt;b&gt;&lt;a href=&quot;/forums/8/topics/50361?page=1#posts-1127642&quot;&gt;THE_DRAGON&lt;/a&gt;:&lt;/b&gt;&lt;/cite&gt;&lt;br&gt;&lt;p&gt;yea&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I have little faith in your game making skills, since you refuse to talk about anything you don&amp;#8217;t like.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Not to mention that making a first person game in flash is some pretty advanced programming.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-25T12:21:15-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">8</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1127932</id>
    <post-number type="integer">14</post-number>
    <topic-id type="integer">50361</topic-id>
    <updated-at type="datetime">2009-09-17T03:44:15-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>My brother is having problems with his Laptop connecting to the internet so he uses my computer which causes problems for me, so I thought I would ask if anyone on Kongregate could help.
Anyway, his internet is just really slow whenever he connects to our router, but it works fine whenever he connects to any other router.  We know nothing besides the fact that changing browsers will not help.  It's an hp computer running Windows Vista and connecting to a Netgear router.  If you need more information just ask, but otherwise, help?</body>
    <body-html>&lt;p&gt;My brother is having problems with his Laptop connecting to the internet so he uses my computer which causes problems for me, so I thought I would ask if anyone on Kongregate could help.&lt;br /&gt;
Anyway, his internet is just really slow whenever he connects to our router, but it works fine whenever he connects to any other router.  We know nothing besides the fact that changing browsers will not help.  It&amp;#8217;s an hp computer running Windows Vista and connecting to a Netgear router.  If you need more information just ask, but otherwise, help?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-21T17:13:43-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1116137</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">50118</topic-id>
    <updated-at type="datetime">2009-09-17T03:42:46-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Whenever I try to publish a preview of my game (AS3) in the flash instead of HTML only a few buttons work and the others just do what they would do in flash. For example, W and D work fine, but A goes to the white arrow tool and S goes to the Ink Bottle.  When I made a game in AS2, the A and S still did that, but they also registered in the Player.  Has this happened to you and do you know how to fix it.  It's not really essential to my project, but it's kind of a pain to keep switching the controls when I need to trace something.</body>
    <body-html>&lt;p&gt;Whenever I try to publish a preview of my game (AS3) in the flash instead of &lt;span class=&quot;caps&quot;&gt;HTML&lt;/span&gt; only a few buttons work and the others just do what they would do in flash. For example, W and D work fine, but A goes to the white arrow tool and S goes to the Ink Bottle.  When I made a game in AS2, the A and S still did that, but they also registered in the Player.  Has this happened to you and do you know how to fix it.  It&amp;#8217;s not really essential to my project, but it&amp;#8217;s kind of a pain to keep switching the controls when I need to trace something.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-21T14:30:06-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1115541</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">50100</topic-id>
    <updated-at type="datetime">2009-09-17T03:42:40-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Now that I look back at it, Moonkey is right.  I have two for each loops aside from this one in my code and they only run once (by design, I would eventually make them run more than once) but once I actually got a button to spawn I discovered that it did only return zero.  Thanks for the help Moonkey.</body>
    <body-html>&lt;p&gt;Now that I look back at it, Moonkey is right.  I have two for each loops aside from this one in my code and they only run once (by design, I would eventually make them run more than once) but once I actually got a button to spawn I discovered that it did only return zero.  Thanks for the help Moonkey.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-14T20:01:01-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1093810</id>
    <post-number type="integer">14</post-number>
    <topic-id type="integer">49365</topic-id>
    <updated-at type="datetime">2009-09-17T03:37:51-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Andrew, you were right.  When I made Profile public, everything worked fine.  Thanks for the help.
As for the other question, I think for each(...in...) replaced the for(...in...) loop in AS3, but any time I've used either of them, they were the index, not the item itself.  
PS Has anyone else ever had a topic just disappear on them like mine did?</body>
    <body-html>&lt;p&gt;Andrew, you were right.  When I made Profile public, everything worked fine.  Thanks for the help.&lt;br /&gt;
As for the other question, I think for each(&amp;#8230;in&amp;#8230;) replaced the for(&amp;#8230;in&amp;#8230;) loop in AS3, but any time I&amp;#8217;ve used either of them, they were the index, not the item itself.  &lt;br /&gt;
PS Has anyone else ever had a topic just disappear on them like mine did?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-14T19:25:39-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1093690</id>
    <post-number type="integer">12</post-number>
    <topic-id type="integer">49365</topic-id>
    <updated-at type="datetime">2009-09-17T03:37:50-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>@Tidenburg
It says &quot;ReferenceError: Error #1065: Variable Profile is not defined.&quot;
@Jabor and Frogmanex
At this point, my code is really unrefined, but my problem isn't that it can't spawn eight buttons, it's that I can't get it to spawn even one.</body>
    <body-html>&lt;p&gt;@Tidenburg&lt;br /&gt;
It says &amp;#8220;ReferenceError: Error #1065: Variable Profile is not defined.&amp;#8221;&lt;br /&gt;
@Jabor and Frogmanex&lt;br /&gt;
At this point, my code is really unrefined, but my problem isn&amp;#8217;t that it can&amp;#8217;t spawn eight buttons, it&amp;#8217;s that I can&amp;#8217;t get it to spawn even one.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-14T17:41:18-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1093470</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">49365</topic-id>
    <updated-at type="datetime">2009-09-17T03:37:50-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Well, my last topic just disappeared, so I guess I'll ask my question again.  I have a menu that I need to make buttons for with actionscript 3, but the buttons won't show up.

Menu code:

&lt;pre&gt;if (keys[87].down == true &amp;&amp; pressed == false) {
	select--;
	pressed = true;
} else if (keys[83].down == true &amp;&amp; pressed == false) {
	select++;
	pressed = true;
} else if (keys[65].down == true &amp;&amp; pressed == false) {
	select -= 4;
	pressed = true;
} else if (keys[68].down == true &amp;&amp; pressed == false) {
	select += 4;
	pressed = true;
} else if (keys[87].down == false &amp;&amp; keys[83].down == false &amp;&amp; keys[65].down == false &amp;&amp; keys[68].down == false) {
	pressed = false;
}
if (select &lt; 0) {
	select += 4;
} else if (select &gt; 7) {
	select -= 4;
}
for each (var i:int in profiles) {
	if (added == false) {
		added = true;
		Cam.addChild(profiles[i]);
		trace(&quot;worked&quot;);
	}
	if (select == i) {
		profiles[i].gotoAndStop(&quot;selected&quot;);
	} else {
		profiles[i].gotoAndStop(&quot;unselected&quot;);
	}
}&lt;/pre&gt;

Profile definitions:

&lt;pre&gt;private var profile0:Profile = new Profile(&quot;empty&quot;);
private var profile1:Profile = new Profile(&quot;empty&quot;);
private var profile2:Profile = new Profile(&quot;empty&quot;);
private var profile3:Profile = new Profile(&quot;empty&quot;);
private var profile4:Profile = new Profile(&quot;empty&quot;);
private var profile5:Profile = new Profile(&quot;empty&quot;);
private var profile6:Profile = new Profile(&quot;empty&quot;);
private var profile7:Profile = new Profile(&quot;empty&quot;);
private var profiles:Array = [profile0, profile1, profile2, profile3, profile4, profile5, profile6, profile7];&lt;/pre&gt;

Profile class:

&lt;pre&gt;package {
	import flash.display.MovieClip;
	import flash.text.TextField;
	class Profile extends MovieClip {
		public var login:String;
		function Profile(lgn:String) {
			login = lgn;
		}
	}
}&lt;/pre&gt;</body>
    <body-html>&lt;p&gt;Well, my last topic just disappeared, so I guess I&amp;#8217;ll ask my question again.  I have a menu that I need to make buttons for with actionscript 3, but the buttons won&amp;#8217;t show up.&lt;/p&gt;
&lt;p&gt;Menu code:&lt;/p&gt;
&lt;pre&gt;if (keys[87].down == true &amp;amp;&amp;amp; pressed == false) {
	select--;
	pressed = true;
} else if (keys[83].down == true &amp;amp;&amp;amp; pressed == false) {
	select++;
	pressed = true;
} else if (keys[65].down == true &amp;amp;&amp;amp; pressed == false) {
	select -= 4;
	pressed = true;
} else if (keys[68].down == true &amp;amp;&amp;amp; pressed == false) {
	select += 4;
	pressed = true;
} else if (keys[87].down == false &amp;amp;&amp;amp; keys[83].down == false &amp;amp;&amp;amp; keys[65].down == false &amp;amp;&amp;amp; keys[68].down == false) {
	pressed = false;
}
if (select &amp;lt; 0) {
	select += 4;
} else if (select &amp;gt; 7) {
	select -= 4;
}
for each (var i:int in profiles) {
	if (added == false) {
		added = true;
		Cam.addChild(profiles[i]);
		trace(&quot;worked&quot;);
	}
	if (select == i) {
		profiles[i].gotoAndStop(&quot;selected&quot;);
	} else {
		profiles[i].gotoAndStop(&quot;unselected&quot;);
	}
}&lt;/pre&gt;
&lt;p&gt;Profile definitions:&lt;/p&gt;
&lt;pre&gt;private var profile0:Profile = new Profile(&quot;empty&quot;);
private var profile1:Profile = new Profile(&quot;empty&quot;);
private var profile2:Profile = new Profile(&quot;empty&quot;);
private var profile3:Profile = new Profile(&quot;empty&quot;);
private var profile4:Profile = new Profile(&quot;empty&quot;);
private var profile5:Profile = new Profile(&quot;empty&quot;);
private var profile6:Profile = new Profile(&quot;empty&quot;);
private var profile7:Profile = new Profile(&quot;empty&quot;);
private var profiles:Array = [profile0, profile1, profile2, profile3, profile4, profile5, profile6, profile7];&lt;/pre&gt;
&lt;p&gt;Profile class:&lt;/p&gt;
&lt;pre&gt;package {
	import flash.display.MovieClip;
	import flash.text.TextField;
	class Profile extends MovieClip {
		public var login:String;
		function Profile(lgn:String) {
			login = lgn;
		}
	}
}&lt;/pre&gt;</body-html>
    <created-at type="datetime">2009-07-14T17:08:19-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1093375</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">49365</topic-id>
    <updated-at type="datetime">2009-09-17T03:37:50-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>@Sunny
I'm using the regular controller, not the Windows version, though it has worked fine with my computer many times before.
@Ruudiluca
I basically use it with Grid Wars 2 and XPadder.</body>
    <body-html>&lt;p&gt;@Sunny&lt;br /&gt;
I&amp;#8217;m using the regular controller, not the Windows version, though it has worked fine with my computer many times before.&lt;br /&gt;
@Ruudiluca&lt;br /&gt;
I basically use it with Grid Wars 2 and XPadder.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T19:50:50-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1080977</id>
    <post-number type="integer">16</post-number>
    <topic-id type="integer">48879</topic-id>
    <updated-at type="datetime">2009-09-17T03:34:38-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>To the first two geniuses: WIRED!! :)
Also, I'm using it for various things, but it'll really be irrelevant if I can't even get windows to recognize the damn thing.  The controller won't even light up when plugged in.  Even when I'm just on the desktop, let alone playing a game.
PS The dick thing didn't work.</body>
    <body-html>&lt;p&gt;To the first two geniuses: &lt;span class=&quot;caps&quot;&gt;WIRED&lt;/span&gt;!! :)&lt;br /&gt;
Also, I&amp;#8217;m using it for various things, but it&amp;#8217;ll really be irrelevant if I can&amp;#8217;t even get windows to recognize the damn thing.  The controller won&amp;#8217;t even light up when plugged in.  Even when I&amp;#8217;m just on the desktop, let alone playing a game.&lt;br /&gt;
PS The dick thing didn&amp;#8217;t work.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T12:43:50-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1079879</id>
    <post-number type="integer">8</post-number>
    <topic-id type="integer">48879</topic-id>
    <updated-at type="datetime">2009-09-17T03:34:38-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>I've had a wired 360 controller for 2 years now, even though I don't have a 360.  I would take it to my friend's house to play on his 360 and I used it on my PC.  After a while though, I decided to unplug it because it wasn't really getting used.  Now that I want to use it again, it won't work.
When I first tried to plug it in the guide button would would flash for a millisecond then turn off, but now it won't even do that.  And windows makes no sound whenever it is plugged in or pulled out.  Any suggestions?</body>
    <body-html>&lt;p&gt;I&amp;#8217;ve had a wired 360 controller for 2 years now, even though I don&amp;#8217;t have a 360.  I would take it to my friend&amp;#8217;s house to play on his 360 and I used it on my PC.  After a while though, I decided to unplug it because it wasn&amp;#8217;t really getting used.  Now that I want to use it again, it won&amp;#8217;t work.&lt;br /&gt;
When I first tried to plug it in the guide button would would flash for a millisecond then turn off, but now it won&amp;#8217;t even do that.  And windows makes no sound whenever it is plugged in or pulled out.  Any suggestions?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T11:40:31-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1079718</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">48879</topic-id>
    <updated-at type="datetime">2009-09-17T03:34:38-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Name: Munch
Gender: Male
Race: Chozo
Homeworld: SR388</body>
    <body-html>&lt;p&gt;Name: Munch&lt;br /&gt;
Gender: Male&lt;br /&gt;
Race: Chozo&lt;br /&gt;
Homeworld: SR388&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T07:36:10-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">2</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1057325</id>
    <post-number type="integer">28</post-number>
    <topic-id type="integer">47951</topic-id>
    <updated-at type="datetime">2009-09-17T03:29:50-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Make the car control better and I think you could have a flash version of trackmania.</body>
    <body-html>&lt;p&gt;Make the car control better and I think you could have a flash version of trackmania.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-10T10:04:50-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">994169</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">45574</topic-id>
    <updated-at type="datetime">2009-09-17T03:18:10-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>You mean like the General Discussion Forum Kong already has?</body>
    <body-html>&lt;p&gt;You mean like the General Discussion Forum Kong already has?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-10T09:59:00-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">994161</id>
    <post-number type="integer">2</post-number>
    <topic-id type="integer">45650</topic-id>
    <updated-at type="datetime">2009-09-17T03:18:33-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Alright, well the character is animated now, but I've run into a problem animating the enemy.  I have a class called &quot;Enemy&quot; that links to the enemy on stage.  Within the enemy are all of the movie clip animations for running, jumping, attacking, etc. and each movie clip within the enemy has the instance name of &quot;curFrame&quot;.  How would I go about referencing all of the curFrame's within the enemy movie clip from the Enemy class definition?</body>
    <body-html>&lt;p&gt;Alright, well the character is animated now, but I&amp;#8217;ve run into a problem animating the enemy.  I have a class called &amp;#8220;Enemy&amp;#8221; that links to the enemy on stage.  Within the enemy are all of the movie clip animations for running, jumping, attacking, etc. and each movie clip within the enemy has the instance name of &amp;#8220;curFrame&amp;#8221;.  How would I go about referencing all of the curFrame&amp;#8217;s within the enemy movie clip from the Enemy class definition?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-02T15:28:08-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">973220</id>
    <post-number type="integer">4</post-number>
    <topic-id type="integer">44559</topic-id>
    <updated-at type="datetime">2009-09-17T03:12:37-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Alright, so I'm making a platformer game in AS3 and I obviously need to animate the character.  Problem is, what worked in AS2 isn't working in AS3.  I have this code running every frame:

&lt;pre&gt;
player.gotoAndStop(player.animState+player.dir);
&lt;/pre&gt;

And I have this code running when an arrow key is pressed:

&lt;pre&gt;
private function downKeys(ev:KeyboardEvent):void {
	if (keys[ev.keyCode] != null) {
		keys[ev.keyCode].down = true;
		player.animState = keys[ev.keyCode].stat;
	}
	if (ev.keyCode == Keyboard.LEFT || ev.keyCode == Keyboard.RIGHT) {
		player.dir = keys[ev.keyCode].rol;
	}
}&lt;/pre&gt;

And here is the definition for the &quot;keys&quot; object:

&lt;pre&gt;
keys = new Object();
keys[Keyboard.UP] = {down:false, dirx:0, diry:-1, frmNum:1, stat:&quot;jumping&quot;};
keys[Keyboard.DOWN] = {down:false, dirx:0, diry:1, frmNum:0, stat:&quot;standing&quot;};
keys[Keyboard.LEFT] = {down:false, dirx:-1, diry:0, frmNum:3, stat:&quot;running&quot;, rol:&quot;Left&quot;};
keys[Keyboard.RIGHT] = {down:false, dirx:1, diry:0, frmNum:2, stat:&quot;running&quot;, rol:&quot;Right&quot;};&lt;/pre&gt;

Any ideas?</body>
    <body-html>&lt;p&gt;Alright, so I&amp;#8217;m making a platformer game in AS3 and I obviously need to animate the character.  Problem is, what worked in AS2 isn&amp;#8217;t working in AS3.  I have this code running every frame:&lt;/p&gt;
&lt;pre&gt;
player.gotoAndStop(player.animState+player.dir);
&lt;/pre&gt;
&lt;p&gt;And I have this code running when an arrow key is pressed:&lt;/p&gt;
&lt;pre&gt;
private function downKeys(ev:KeyboardEvent):void {
	if (keys[ev.keyCode] != null) {
		keys[ev.keyCode].down = true;
		player.animState = keys[ev.keyCode].stat;
	}
	if (ev.keyCode == Keyboard.LEFT || ev.keyCode == Keyboard.RIGHT) {
		player.dir = keys[ev.keyCode].rol;
	}
}&lt;/pre&gt;
&lt;p&gt;And here is the definition for the &amp;#8220;keys&amp;#8221; object:&lt;/p&gt;
&lt;pre&gt;
keys = new Object();
keys[Keyboard.UP] = {down:false, dirx:0, diry:-1, frmNum:1, stat:&quot;jumping&quot;};
keys[Keyboard.DOWN] = {down:false, dirx:0, diry:1, frmNum:0, stat:&quot;standing&quot;};
keys[Keyboard.LEFT] = {down:false, dirx:-1, diry:0, frmNum:3, stat:&quot;running&quot;, rol:&quot;Left&quot;};
keys[Keyboard.RIGHT] = {down:false, dirx:1, diry:0, frmNum:2, stat:&quot;running&quot;, rol:&quot;Right&quot;};&lt;/pre&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-05-31T16:57:33-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">969069</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">44559</topic-id>
    <updated-at type="datetime">2009-09-17T03:12:37-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
  <post>
    <body>Actually, GodLikeMy (or Paul-the-Mighty) and I are looking into this with me being the programmer and him being the artist.  Would you want to try and pull a group together between us?  I do have a game in mind,  but I'm open to any ideas you might have.</body>
    <body-html>&lt;p&gt;Actually, GodLikeMy (or Paul-the-Mighty) and I are looking into this with me being the programmer and him being the artist.  Would you want to try and pull a group together between us?  I do have a game in mind,  but I&amp;#8217;m open to any ideas you might have.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-05-16T12:22:35-07:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">930089</id>
    <post-number type="integer">4</post-number>
    <topic-id type="integer">43104</topic-id>
    <updated-at type="datetime">2009-09-17T03:02:50-07:00</updated-at>
    <user-id type="integer">31811</user-id>
  </post>
</posts>
