<?xml version="1.0" encoding="UTF-8"?>
<posts type="array">
  <post>
    <body>I'm trying to complete shootorial 5 but after I finished the code on page three the enemy ships only appear staying still in the top-left corner. here is my code.(the bold things have an asterisk before and after like in the code)(my screen is 1000 pixels wide)
class EnemyShip extends MovieClip
{
	var speed;
	
	function onLoad()
	{
		_x = 1100;
		_y = Math.random()*500 + 50;
		speed = Math.random()*5 + 5;
	}
	
	function onEnterFrame()
	{
		_x -= speed;
		if(_x &lt; -100)
		{
			this.removeMovieClip();
		}
		
		function explode()
	{
		
		this.removeMovieClip();
	}
}
Cheers~Willomo</body>
    <body-html>&lt;p&gt;I&amp;#8217;m trying to complete shootorial 5 but after I finished the code on page three the enemy ships only appear staying still in the top-left corner. here is my code.(the bold things have an asterisk before and after like in the code)(my screen is 1000 pixels wide)&lt;br /&gt;
class EnemyShip extends MovieClip&lt;br /&gt;
{&lt;br /&gt;
	var speed;&lt;br /&gt;
	&lt;br /&gt;
	function onLoad()&lt;br /&gt;
	{&lt;br /&gt;
		&lt;em&gt;x = 1100;&lt;br /&gt;
		_y = Math.random()&lt;strong&gt;500 + 50;&lt;br /&gt;
		speed = Math.random()&lt;/strong&gt;5 + 5;&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	function onEnterFrame()&lt;br /&gt;
	{&lt;br /&gt;
		_x -= speed;&lt;br /&gt;
		if(&lt;/em&gt;x &amp;lt; -100)&lt;br /&gt;
		{&lt;br /&gt;
			this.removeMovieClip();&lt;br /&gt;
		}&lt;br /&gt;
		&lt;br /&gt;
		function explode()&lt;br /&gt;
	{&lt;br /&gt;
		&lt;br /&gt;
		this.removeMovieClip();&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
Cheers~Willomo&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-03T20:03: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">1061773</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">48201</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:59-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>Now when both of those have gone past it jumps in 2 centimetres from the edge and does that each time a loop goes around. ( I changed The width from 2110 to 302, the correct width)</body>
    <body-html>&lt;p&gt;Now when both of those have gone past it jumps in 2 centimetres from the edge and does that each time a loop goes around. ( I changed The width from 2110 to 302, the correct width)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T23:06:59-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">1059703</id>
    <post-number type="integer">8</post-number>
    <topic-id type="integer">48099</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:37-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>sorry for the double post but I just noticed that after the background almost reached the end of the window (about 2 centimetres from the edge ) It would put the background back at the start.(sorry If my phrasing is bad)</body>
    <body-html>&lt;p&gt;sorry for the double post but I just noticed that after the background almost reached the end of the window (about 2 centimetres from the edge ) It would put the background back at the start.(sorry If my phrasing is bad)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T22:16:37-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">1059540</id>
    <post-number type="integer">6</post-number>
    <topic-id type="integer">48099</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:37-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>On the as file that underscore is there... I think my computer hates copying underscores to forum posts.</body>
    <body-html>&lt;p&gt;On the as file that underscore is there&amp;#8230; I think my computer hates copying underscores to forum posts.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T21:44:27-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">1059449</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">48099</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:37-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>What? I'm not sure I understand what you mean. But I did have the correct in line five but I must have accidentally deleted it.</body>
    <body-html>&lt;p&gt;What? I&amp;#8217;m not sure I understand what you mean. But I did have the correct in line five but I must have accidentally deleted it.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T21:34:04-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">1059405</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">48099</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:37-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>I followed the shootorial as closely as I could with one exception: I used my own background with the same dimensions. My background scrolls but doesn't loop here is the code for the class &quot;Background&quot;:
class Background extends MovieClip
{
	function onEnterFrame()
	{
		_x = _x - 2;
		if(_x &lt; -2110)
		{
			_x = 0;
		}
	}
}
Cheers~Willomo</body>
    <body-html>&lt;p&gt;I followed the shootorial as closely as I could with one exception: I used my own background with the same dimensions. My background scrolls but doesn&amp;#8217;t loop here is the code for the class &amp;#8220;Background&amp;#8221;:&lt;br /&gt;
class Background extends MovieClip&lt;br /&gt;
{&lt;br /&gt;
	function onEnterFrame()&lt;br /&gt;
	{&lt;br /&gt;
		&lt;em&gt;x = _x &amp;#8211; 2;&lt;br /&gt;
		if(&lt;/em&gt;x &amp;lt; -2110)&lt;br /&gt;
		{&lt;br /&gt;
			_x = 0;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
Cheers~Willomo&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T19:15:28-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">1059028</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">48099</topic-id>
    <updated-at type="datetime">2009-09-17T03:30:37-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>When I started my game It came up with the error &quot;1120: Access of undefined property objectB.&quot; with the source &quot;objectB.SpawnTwoObjectAs();&quot; Do you know how to fix this? Also: I forgot to mention that when clicked on I want that objectA to be destroyed.</body>
    <body-html>&lt;p&gt;When I started my game It came up with the error &amp;#8220;1120: Access of undefined property objectB.&amp;#8221; with the source &amp;#8220;objectB.SpawnTwoObjectAs();&amp;#8221; Do you know how to fix this? Also: I forgot to mention that when clicked on I want that objectA to be destroyed.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-29T02:02:02-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">1045977</id>
    <post-number type="integer">7</post-number>
    <topic-id type="integer">47553</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:57-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>thanks! I'll try it now.</body>
    <body-html>&lt;p&gt;thanks! I&amp;#8217;ll try it now.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-28T04:33:23-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">1042578</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">47553</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:57-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>What code to I need to make it so that when i click on an object(object a for example) a different object(object b) will make two more of object a moving in two random directions? I made this work on gamemaker but I have no Idea how to make it work on flash(flash 9). please help
Cheers~Willomo</body>
    <body-html>&lt;p&gt;What code to I need to make it so that when i click on an object(object a for example) a different object(object b) will make two more of object a moving in two random directions? I made this work on gamemaker but I have no Idea how to make it work on flash(flash 9). please help&lt;br /&gt;
Cheers~Willomo&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-28T04:05: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">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1042547</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">47553</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:57-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>oh. Thanks!</body>
    <body-html>&lt;p&gt;oh. Thanks!&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-27T15:24: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">4</forum-id>
    <hidden-by-id type="integer" nil="true"></hidden-by-id>
    <id type="integer">1040470</id>
    <post-number type="integer">5</post-number>
    <topic-id type="integer">47446</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:20-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>I tried and I can load up both your games, Try it in a different browser or maybe get the latest flash player.</body>
    <body-html>&lt;p&gt;I tried and I can load up both your games, Try it in a different browser or maybe get the latest flash player.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-27T06:30:04-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">1038887</id>
    <post-number type="integer">2</post-number>
    <topic-id type="integer">47451</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:21-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>but how do I add an achievement? like one of those badges?</body>
    <body-html>&lt;p&gt;but how do I add an achievement? like one of those badges?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-27T05:32:05-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">1038797</id>
    <post-number type="integer">3</post-number>
    <topic-id type="integer">47446</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:20-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
  <post>
    <body>I made my game (http://www.kongregate.com/games/Willomo/city-dragndrop dodgy, I know) And I want to make it so that if you you find all three secret items you get a reward, how do I do this? 
Cheers~ Willomo</body>
    <body-html>&lt;p&gt;I made my game (&lt;a href=&quot;http://www.kongregate.com/games/Willomo/city-dragndrop&quot;&gt;http://www.kongregate.com/games/Willomo/city-dragndrop&lt;/a&gt; dodgy, I know) And I want to make it so that if you you find all three secret items you get a reward, how do I do this? &lt;br /&gt;
Cheers~ Willomo&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-27T04:00:28-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">1038687</id>
    <post-number type="integer">1</post-number>
    <topic-id type="integer">47446</topic-id>
    <updated-at type="datetime">2009-09-17T03:27:20-07:00</updated-at>
    <user-id type="integer">661343</user-id>
  </post>
</posts>
