<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <body>ok. thanks a lot! :)</body>
    <body-html>&lt;p&gt;ok. thanks a lot! :)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-03-01T00:59:02-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">744160</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">35987</topic-id>
    <updated-at type="datetime">2009-09-17T02:19:05-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>thanks for the lightningfast reply :)

is there a generic way to do this? my problem is that with eg:

function addEnemy() {
var charge1 = new Charge();
Game.main.spriteClip.addChild(charge1);
}

being called in my levelmanager, i don't have access to &quot;charge1&quot; anymore.</body>
    <body-html>&lt;p&gt;thanks for the lightningfast reply :)&lt;/p&gt;
&lt;p&gt;is there a generic way to do this? my problem is that with eg:&lt;/p&gt;
&lt;p&gt;function addEnemy() {&lt;br /&gt;
var charge1 = new Charge();&lt;br /&gt;
Game.main.spriteClip.addChild(charge1);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;being called in my levelmanager, i don&amp;#8217;t have access to &amp;#8220;charge1&amp;#8221; anymore.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-03-01T00:36:27-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">744149</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">35987</topic-id>
    <updated-at type="datetime">2009-09-17T02:19:05-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>When is an object removed and set to null? 

To make it short, i create 3 movieclips:

				var charge1 = new Charge();
				Game.main.spriteClip.addChild(charge1);

				var charge2 = new Charge();
				Game.main.spriteClip.addChild(charge2);
				
				var b = new LightningBeam( charge1, charge2);
				Game.main.spriteClip.addChild(b);
				
				
LightningBeam connects charge1 and charge2. When charge1 gets destroyed, then LightningBeam should stop connecting charge1 and charge2, but it doesn't.

In Charge() i remove the children with: parent.removeChild(this);

In LightningBeam i check whether the charges are null or not

	if( charge1 == null || charge2 == null)
		kill(); // remove the lightningbeam
		
However, even after charge1 or charge2 get destroyed, they still aren't null. The only method that works is if i check 		
				
  if( !parent.contains( charge1) || !parent.contains( charge2))
  	kill();
  	
Am I doing something wrong with the null checks? It's just a matter of understanding for me as the other solution works. I'm only afraid that the objects are still somewhere in memory and cost performance or sth.</body>
    <body-html>&lt;p&gt;When is an object removed and set to null?&lt;/p&gt;
&lt;p&gt;To make it short, i create 3 movieclips:&lt;/p&gt;
&lt;p&gt;var charge1 = new Charge();&lt;br /&gt;
				Game.main.spriteClip.addChild(charge1);&lt;/p&gt;
&lt;p&gt;var charge2 = new Charge();&lt;br /&gt;
				Game.main.spriteClip.addChild(charge2);&lt;br /&gt;
				&lt;br /&gt;
				var b = new LightningBeam( charge1, charge2);&lt;br /&gt;
				Game.main.spriteClip.addChild(b);&lt;br /&gt;
				&lt;br /&gt;
				&lt;br /&gt;
LightningBeam connects charge1 and charge2. When charge1 gets destroyed, then LightningBeam should stop connecting charge1 and charge2, but it doesn&amp;#8217;t.&lt;/p&gt;
&lt;p&gt;In Charge() i remove the children with: parent.removeChild(this);&lt;/p&gt;
&lt;p&gt;In LightningBeam i check whether the charges are null or not&lt;/p&gt;
&lt;p&gt;if( charge1 == null || charge2 == null)&lt;br /&gt;
		kill(); // remove the lightningbeam&lt;br /&gt;
		&lt;br /&gt;
However, even after charge1 or charge2 get destroyed, they still aren&amp;#8217;t null. The only method that works is if i check 		&lt;br /&gt;
				&lt;br /&gt;
  if( !parent.contains( charge1) || !parent.contains( charge2))&lt;br /&gt;
  	kill();&lt;br /&gt;
  	&lt;br /&gt;
Am I doing something wrong with the null checks? It&amp;#8217;s just a matter of understanding for me as the other solution works. I&amp;#8217;m only afraid that the objects are still somewhere in memory and cost performance or sth.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-03-01T00:23:22-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">744128</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">35987</topic-id>
    <updated-at type="datetime">2009-09-17T02:19:05-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>the level is 6000px in height, ie the pic</body>
    <body-html>&lt;p&gt;the level is 6000px in height, ie the pic&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-02-19T11:00:33-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">725477</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">35070</topic-id>
    <updated-at type="datetime">2009-09-17T02:14:10-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>yeah, that's the obvious solution. but how to proceed then? simple image copying? and if so, how? or the gotoandstop solution with frames?</body>
    <body-html>&lt;p&gt;yeah, that&amp;#8217;s the obvious solution. but how to proceed then? simple image copying? and if so, how? or the gotoandstop solution with frames?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-02-18T21:41:29-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">724806</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">35070</topic-id>
    <updated-at type="datetime">2009-09-17T02:14:10-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>my background has 6000px in height. afaik flash is limited to +/-2880px. what's the preferred and performing way to deal with such large scrolling backgrounds in as3?</body>
    <body-html>&lt;p&gt;my background has 6000px in height. afaik flash is limited to +/-2880px. what&amp;#8217;s the preferred and performing way to deal with such large scrolling backgrounds in as3?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-02-18T11:37:35-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">723490</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">35070</topic-id>
    <updated-at type="datetime">2009-09-17T02:14:10-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>thanks, i'll do. i'm planning anyway to pre-load several tiles. that way you can make a very long map. current limit so far is ~6000 pixel in height, more than that gives you a google api error</body>
    <body-html>&lt;p&gt;thanks, i&amp;#8217;ll do. i&amp;#8217;m planning anyway to pre-load several tiles. that way you can make a very long map. current limit so far is ~6000 pixel in height, more than that gives you a google api error&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-30T20:52:50-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">683383</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">33181</topic-id>
    <updated-at type="datetime">2009-09-17T02:01:31-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>if anyone is interested, i've made a quick preview of how it could work. tbh, i kind of like the google earth integration, i think i'm going to build my game on that:

http://megaswf.com/view/ca8f1b8f1972d70e21b809421a386c06.html</body>
    <body-html>&lt;p&gt;if anyone is interested, i&amp;#8217;ve made a quick preview of how it could work. tbh, i kind of like the google earth integration, i think i&amp;#8217;m going to build my game on that:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://megaswf.com/view/ca8f1b8f1972d70e21b809421a386c06.html&quot;&gt;http://megaswf.com/view/ca8f1b8f1972d70e21b809421a386c06.html&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-26T21:32:57-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">675473</id>
    <post-number type="integer">4</post-number>
    <topic-id type="integer">33181</topic-id>
    <updated-at type="datetime">2009-09-17T02:01:31-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>found it. you have to register a key at google for your site and use it in the api. works like a charm :)</body>
    <body-html>&lt;p&gt;found it. you have to register a key at google for your site and use it in the api. works like a charm :)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-26T09:47:55-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">674131</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">33181</topic-id>
    <updated-at type="datetime">2009-09-17T02:01:31-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>just for fun i've integrated google maps as scrolling background for my shoot em up. of course now i have the problem that the user can't access maps.google.com from the site where the flash file is located. is there any convenient way to ask the user for permission to access a remote site from within my flash file?</body>
    <body-html>&lt;p&gt;just for fun i&amp;#8217;ve integrated google maps as scrolling background for my shoot em up. of course now i have the problem that the user can&amp;#8217;t access maps.google.com from the site where the flash file is located. is there any convenient way to ask the user for permission to access a remote site from within my flash file?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-25T20:59:12-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">673578</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">33181</topic-id>
    <updated-at type="datetime">2009-09-17T02:01:31-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>does anyone have a solution to keyboard blocking? when i press fire (=space bar) and try to move into upper left (left + right cursor) simultaneously, then my ship doesn't move on older keyboards. i have a g15 logitech keyboard which works around that kind of stuff. but it's annoying for other people who just have an ordinary keyboard</body>
    <body-html>&lt;p&gt;does anyone have a solution to keyboard blocking? when i press fire (=space bar) and try to move into upper left (left + right cursor) simultaneously, then my ship doesn&amp;#8217;t move on older keyboards. i have a g15 logitech keyboard which works around that kind of stuff. but it&amp;#8217;s annoying for other people who just have an ordinary keyboard&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-25T03:45: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">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">671615</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">33089</topic-id>
    <updated-at type="datetime">2009-09-17T02:00:42-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>yeah, that's where the estimated value and the distance calculation come into the game. i don't have the time to figure out how that works, but thanks anways for the link! for my needs the above is sufficient. and as it's been asked for, i thought i'd create a sample and share. still, if anyone corrects/enhances the algorithm, please share :-)</body>
    <body-html>&lt;p&gt;yeah, that&amp;#8217;s where the estimated value and the distance calculation come into the game. i don&amp;#8217;t have the time to figure out how that works, but thanks anways for the link! for my needs the above is sufficient. and as it&amp;#8217;s been asked for, i thought i&amp;#8217;d create a sample and share. still, if anyone corrects/enhances the algorithm, please share :-)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-11T01:21:08-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">641587</id>
    <post-number type="integer">4</post-number>
    <topic-id type="integer">31964</topic-id>
    <updated-at type="datetime">2009-09-17T01:53:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>here you can directly see what the swf does:

http://lofi007.piranho.de/waypoints/waypoints.swf</body>
    <body-html>&lt;p&gt;here you can directly see what the swf does:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://lofi007.piranho.de/waypoints/waypoints.swf&quot;&gt;http://lofi007.piranho.de/waypoints/waypoints.swf&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-10T23:17:08-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">641459</id>
    <post-number type="integer">2</post-number>
    <topic-id type="integer">31964</topic-id>
    <updated-at type="datetime">2009-09-17T01:53:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>after nobody came up with a solution, i searched the web for info on how to create my own wave of enemies which moves along a waypoint system, while the movement at the waypoints is rather smooth. several blogs helped in creating this code. it's still not complete, but already working. if you need this as well, here's the initial version:

http://rapidshare.com/files/181988137/waypoints.zip

there's stuff that still needs enhancements. if you work on this, please do share :)

usage: click in the window to add waypoints; waypoints are draggable; press the &quot;Wave&quot; button to let a wave of enemy ships fly around the waypoints</body>
    <body-html>&lt;p&gt;after nobody came up with a solution, i searched the web for info on how to create my own wave of enemies which moves along a waypoint system, while the movement at the waypoints is rather smooth. several blogs helped in creating this code. it&amp;#8217;s still not complete, but already working. if you need this as well, here&amp;#8217;s the initial version:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://rapidshare.com/files/181988137/waypoints.zip&quot;&gt;http://rapidshare.com/files/181988137/waypoints.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;there&amp;#8217;s stuff that still needs enhancements. if you work on this, please do share :)&lt;/p&gt;
&lt;p&gt;usage: click in the window to add waypoints; waypoints are draggable; press the &amp;#8220;Wave&amp;#8221; button to let a wave of enemy ships fly around the waypoints&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-10T23:08:43-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">641449</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">31964</topic-id>
    <updated-at type="datetime">2009-09-17T01:53:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>if anyone is interested and needs it as well, ninoscript has the solution:

http://www.kirupa.com/forum/showpost.php?p=1735872&amp;postcount=17

actually his is a driving game, but the mechanism is the same</body>
    <body-html>&lt;p&gt;if anyone is interested and needs it as well, ninoscript has the solution:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.kirupa.com/forum/showpost.php?p=1735872&amp;amp;postcount=17&quot;&gt;http://www.kirupa.com/forum/showpost.php?p=1735872&amp;amp;amp;postcount=17&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;actually his is a driving game, but the mechanism is the same&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-10T06:11:26-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">639154</id>
    <post-number type="integer">10</post-number>
    <topic-id type="integer">31577</topic-id>
    <updated-at type="datetime">2009-09-17T01:51:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>thanks, already been there as well, but didn't find anything to my satisfaction. i had hopes that someone would share their algorithms :-)</body>
    <body-html>&lt;p&gt;thanks, already been there as well, but didn&amp;#8217;t find anything to my satisfaction. i had hopes that someone would share their algorithms :-)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-07T11:05:49-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">633355</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">31577</topic-id>
    <updated-at type="datetime">2009-09-17T01:51:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>thanks, i already got this one and translated it to AS3, but it doesn't work as expected. i need smoother movements at the corners. besides there seems to be a rotation bug in it. whenever a waypoint is reached, the ship rotates into the opposite direction shortly and then into the correct one, which looks ugly. happens on different angles and on different speeds. i already checked several rotation bug solutions in AS3 (yes, there seems to be one), but those didn't solve the problem either.</body>
    <body-html>&lt;p&gt;thanks, i already got this one and translated it to AS3, but it doesn&amp;#8217;t work as expected. i need smoother movements at the corners. besides there seems to be a rotation bug in it. whenever a waypoint is reached, the ship rotates into the opposite direction shortly and then into the correct one, which looks ugly. happens on different angles and on different speeds. i already checked several rotation bug solutions in AS3 (yes, there seems to be one), but those didn&amp;#8217;t solve the problem either.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-06T22:19:06-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">632688</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">31577</topic-id>
    <updated-at type="datetime">2009-09-17T01:51:20-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>does anyone have a good algorithm with which you can move an object along several waypoints? i specifically search one which lets eg a spaceship fly to a point and along the way smoothly rotate and continue flying to the next point. currently my ships fly towards a waypoint, make a hard turn at that point and continue flying, but that looks ugly.</body>
    <body-html>&lt;p&gt;does anyone have a good algorithm with which you can move an object along several waypoints? i specifically search one which lets eg a spaceship fly to a point and along the way smoothly rotate and continue flying to the next point. currently my ships fly towards a waypoint, make a hard turn at that point and continue flying, but that looks ugly.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-06T11:41:40-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">631393</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">31577</topic-id>
    <updated-at type="datetime">2009-09-17T01:51:20-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>here's a simple approach with waypoints which works:

http://www.emanueleferonato.com/2007/10/06/make-a-flash-game-like-flash-element-tower-defense-part-1/</body>
    <body-html>&lt;p&gt;here&amp;#8217;s a simple approach with waypoints which works:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.emanueleferonato.com/2007/10/06/make-a-flash-game-like-flash-element-tower-defense-part-1/&quot;&gt;http://www.emanueleferonato.com/2007/10/06/make-a-flash-game-like-flash-element-tower-defense-part-1/&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-01-02T22:02:12-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">623817</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">30761</topic-id>
    <updated-at type="datetime">2009-09-17T01:47:22-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>what is tower defense?</body>
    <body-html>&lt;p&gt;what is tower defense?&lt;/p&gt;</body-html>
    <created-at type="datetime">2008-12-12T23:00:16-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">574693</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">29079</topic-id>
    <updated-at type="datetime">2009-09-17T01:37:21-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>only levelmanager</body>
    <body-html>&lt;p&gt;only levelmanager&lt;/p&gt;</body-html>
    <created-at type="datetime">2008-12-02T10:39:25-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">557465</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">28413</topic-id>
    <updated-at type="datetime">2009-09-17T01:33:59-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>is it possible to see the non-classic version of river raid? i can't stand the music as it gets very annoying quickly, the controls are horrible and i definitely won't waste my time to play through 5 levels of this &quot;game&quot; only to see how the non-classic version looks. but i really would like to see why it got voted first, there must be a reason after all.

the other 2 games are very nice.</body>
    <body-html>&lt;p&gt;is it possible to see the non-classic version of river raid? i can&amp;#8217;t stand the music as it gets very annoying quickly, the controls are horrible and i definitely won&amp;#8217;t waste my time to play through 5 levels of this &amp;#8220;game&amp;#8221; only to see how the non-classic version looks. but i really would like to see why it got voted first, there must be a reason after all.&lt;/p&gt;
&lt;p&gt;the other 2 games are very nice.&lt;/p&gt;</body-html>
    <created-at type="datetime">2008-12-02T09:16:58-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">557367</id>
    <post-number type="integer">26</post-number>
    <topic-id type="integer">28400</topic-id>
    <updated-at type="datetime">2009-09-17T01:33:52-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>haven't seen it either. just change the miniboss timerhandler in levelmanager to sth like this:

&lt;pre&gt;
		var bossCount = 0;
		public function miniBossTimerHandler(event:TimerEvent):void 
		{
			bossCount++;

			if( bossCount &lt; 3)
				Game.main.spriteClip.addChild( new MiniBoss());
			else			
				Game.main.spriteClip.addChild( new Boss());
			
        }
&lt;/pre&gt;</body>
    <body-html>&lt;p&gt;haven&amp;#8217;t seen it either. just change the miniboss timerhandler in levelmanager to sth like this:&lt;/p&gt;
&lt;pre&gt;
		var bossCount = 0;
		public function miniBossTimerHandler(event:TimerEvent):void 
		{
			bossCount++;

			if( bossCount &amp;lt; 3)
				Game.main.spriteClip.addChild( new MiniBoss());
			else			
				Game.main.spriteClip.addChild( new Boss());
			
        }
&lt;/pre&gt;</body-html>
    <created-at type="datetime">2008-12-02T08:59:13-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">557351</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">28413</topic-id>
    <updated-at type="datetime">2009-09-17T01:33:59-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>if anyone still needs stuff for movement, i've found this tutorial which is very good and has slim code:

http://www.gotoandplay.it/_articles/2007/02/game_tutorial_part1.php

(i don't know about policy of linking to other sites, so if that's not wanted, admin please delete; i thought it's very useful stuff, hence the link)</body>
    <body-html>&lt;p&gt;if anyone still needs stuff for movement, i&amp;#8217;ve found this tutorial which is very good and has slim code:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.gotoandplay.it/&quot;&gt;http://www.gotoandplay.it/&lt;/a&gt;&lt;em&gt;articles/2007/02/game&lt;/em&gt;tutorial_part1.php&lt;/p&gt;
&lt;p&gt;(i don&amp;#8217;t know about policy of linking to other sites, so if that&amp;#8217;s not wanted, admin please delete; i thought it&amp;#8217;s very useful stuff, hence the link)&lt;/p&gt;</body-html>
    <created-at type="datetime">2008-12-01T22:01:56-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">556923</id>
    <post-number type="integer">18</post-number>
    <topic-id type="integer">25044</topic-id>
    <updated-at type="datetime">2009-09-17T01:17:23-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
  <post>
    <body>thanks a lot, but it didn't work as expected, but i found out if you're interested:

&lt;pre&gt;
	old_x = x;
	old_y = y;
	x = ...;
	y = ...;
		
	rotation = rad2deg(Math.atan2((old_y-y),(old_x-x)))+90;

using

	function rad2deg(radians:Number):Number {
		return radians * 180 / Math.PI;
	}  
&lt;/pre&gt;</body>
    <body-html>&lt;p&gt;thanks a lot, but it didn&amp;#8217;t work as expected, but i found out if you&amp;#8217;re interested:&lt;/p&gt;
&lt;pre&gt;
	old_x = x;
	old_y = y;
	x = ...;
	y = ...;
		
	rotation = rad2deg(Math.atan2((old_y-y),(old_x-x)))+90;

using

	function rad2deg(radians:Number):Number {
		return radians * 180 / Math.PI;
	}  
&lt;/pre&gt;</body-html>
    <created-at type="datetime">2008-12-01T21:58:08-08:00</created-at>
    <flaggings-count type="integer">0</flaggings-count>
    <forced-visibility-state type="boolean">true</forced-visibility-state>
    <forum-id type="integer">11</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">556922</id>
    <post-number type="integer">11</post-number>
    <topic-id type="integer">28239</topic-id>
    <updated-at type="datetime">2009-09-17T01:32:49-07:00</updated-at>
    <user-id type="integer">961174</user-id>
  </post>
</posts>
