<?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: Adding Library Objects to Stage with AS3</title>
	<atom:link href="http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/feed" rel="self" type="application/rss+xml" />
	<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3</link>
	<description>Learn to Make Flash Games, Applications, and Websites</description>
	<pubDate>Sat, 31 Jul 2010 12:11:00 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alexut</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-2#comment-4984</link>
		<dc:creator>alexut</dc:creator>
		<pubDate>Mon, 07 Jun 2010 11:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4984</guid>
		<description>this is great tutorial, but I'm trying to do something different, moving the ship on mouse click event, like in a click and point game, I have searched many tutorials and haven't found a solution. If anyone has any tutorials to point me to would be great.</description>
		<content:encoded><![CDATA[<p>this is great tutorial, but I&#8217;m trying to do something different, moving the ship on mouse click event, like in a click and point game, I have searched many tutorials and haven&#8217;t found a solution. If anyone has any tutorials to point me to would be great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kristi</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-2#comment-4961</link>
		<dc:creator>kristi</dc:creator>
		<pubDate>Tue, 01 Jun 2010 13:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4961</guid>
		<description>oops! my fault!! it's really work!!:)</description>
		<content:encoded><![CDATA[<p>oops! my fault!! it&#8217;s really work!!:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kristi</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4960</link>
		<dc:creator>kristi</dc:creator>
		<pubDate>Tue, 01 Jun 2010 12:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4960</guid>
		<description>Hi, it seems like a nice tut, and I really want to do it, but my space ship don't appear, I downloaded the files and found "senocular" folder with "KeyObject.as" file, without the folder it's not working, I don't understand what is this file?</description>
		<content:encoded><![CDATA[<p>Hi, it seems like a nice tut, and I really want to do it, but my space ship don&#8217;t appear, I downloaded the files and found &#8220;senocular&#8221; folder with &#8220;KeyObject.as&#8221; file, without the folder it&#8217;s not working, I don&#8217;t understand what is this file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bharat</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4937</link>
		<dc:creator>bharat</dc:creator>
		<pubDate>Sun, 23 May 2010 15:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4937</guid>
		<description>Easy way to appear Ship :

1.Instead of using "com.asgamer.basic1" directory you can also make this game in single folder

2.First save basic1.fla 
  in same folder save Engine.as &#38; Ship.as
  
  means save basic1.fla ,Ship.as and Engine.as in one folder

3.Change package com.asgamer.basics1 (first line in both as files)
         to simply package

4.New code will be
 
  For  Engine.as

      package       //remove everything here
    {
	
	import flash.display.MovieClip;
	import flash.display.Stage;

	public class Engine extends MovieClip
	{
 
				public function Engine()
		{
			var ourShip:Ship = new Ship();
			stage.addChild(ourShip);
			ourShip.x = stage.stageWidth / 2;
			ourShip.y = stage.stageHeight / 2;

            
		}
 
	}
 
}

for Ship.as

package 
{
 
	import flash.display.MovieClip;
 
	public class Ship extends MovieClip
	{
 
		public function Ship()
		{
 
		}
 
	}
 
}

5. Change Linkage For ship movie clip (remove com.asgamer.basic1.Ship)
   type this

   Class: Ship
   base: flash.display.MovieClip   

6. Finally in basic1.fla Go to properties and change Class:Engine

remove that com.asgamer.basic1.Engine

7. Tutorial is nice and helps me to getting  started in as3 
   
   my homepage  (currently one page is loaded other are in progress)
   
   www.infernodesigners.com</description>
		<content:encoded><![CDATA[<p>Easy way to appear Ship :</p>
<p>1.Instead of using &#8220;com.asgamer.basic1&#8243; directory you can also make this game in single folder</p>
<p>2.First save basic1.fla<br />
  in same folder save Engine.as &amp; Ship.as</p>
<p>  means save basic1.fla ,Ship.as and Engine.as in one folder</p>
<p>3.Change package com.asgamer.basics1 (first line in both as files)<br />
         to simply package</p>
<p>4.New code will be</p>
<p>  For  Engine.as</p>
<p>      package       //remove everything here<br />
    {</p>
<p>	import flash.display.MovieClip;<br />
	import flash.display.Stage;</p>
<p>	public class Engine extends MovieClip<br />
	{</p>
<p>				public function Engine()<br />
		{<br />
			var ourShip:Ship = new Ship();<br />
			stage.addChild(ourShip);<br />
			ourShip.x = stage.stageWidth / 2;<br />
			ourShip.y = stage.stageHeight / 2;</p>
<p>		}</p>
<p>	}</p>
<p>}</p>
<p>for Ship.as</p>
<p>package<br />
{</p>
<p>	import flash.display.MovieClip;</p>
<p>	public class Ship extends MovieClip<br />
	{</p>
<p>		public function Ship()<br />
		{</p>
<p>		}</p>
<p>	}</p>
<p>}</p>
<p>5. Change Linkage For ship movie clip (remove com.asgamer.basic1.Ship)<br />
   type this</p>
<p>   Class: Ship<br />
   base: flash.display.MovieClip   </p>
<p>6. Finally in basic1.fla Go to properties and change Class:Engine</p>
<p>remove that com.asgamer.basic1.Engine</p>
<p>7. Tutorial is nice and helps me to getting  started in as3 </p>
<p>   my homepage  (currently one page is loaded other are in progress)</p>
<p>   <a href="http://www.infernodesigners.com" rel="nofollow">http://www.infernodesigners.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4925</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sun, 16 May 2010 10:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4925</guid>
		<description>Hey Par, don't mind Rizz, it's a great tute and an awesome way to move from AS2 to AS3 as well. Bit of a superficial question though. I'm using CS4, and where you talk about the gradient fill for the background, I can't find that option the way you have it. Which sucks, cos what you have there looks great. I just have a flat colour fill. Did they take the gradient fills out or something?</description>
		<content:encoded><![CDATA[<p>Hey Par, don&#8217;t mind Rizz, it&#8217;s a great tute and an awesome way to move from AS2 to AS3 as well. Bit of a superficial question though. I&#8217;m using CS4, and where you talk about the gradient fill for the background, I can&#8217;t find that option the way you have it. Which sucks, cos what you have there looks great. I just have a flat colour fill. Did they take the gradient fills out or something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Par</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4892</link>
		<dc:creator>Par</dc:creator>
		<pubDate>Sat, 01 May 2010 18:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4892</guid>
		<description>Rizz. Sorry you don't understand.  However, since you're handling it the way you are, I have no desire to try and explain it for you.</description>
		<content:encoded><![CDATA[<p>Rizz. Sorry you don&#8217;t understand.  However, since you&#8217;re handling it the way you are, I have no desire to try and explain it for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rizz</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4857</link>
		<dc:creator>Rizz</dc:creator>
		<pubDate>Thu, 01 Apr 2010 02:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4857</guid>
		<description>Your tutorial kind of blows... You need to explain more. Whatsup with the com.asgamer.basics1? Is that the directory where we need to have the files saved on our computer? Meaning, do we need to have the 2 .as files and the .fla file saved in a root named:
C:\com\asgamer\basics1</description>
		<content:encoded><![CDATA[<p>Your tutorial kind of blows&#8230; You need to explain more. Whatsup with the com.asgamer.basics1? Is that the directory where we need to have the files saved on our computer? Meaning, do we need to have the 2 .as files and the .fla file saved in a root named:<br />
C:\com\asgamer\basics1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: as3guy</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4855</link>
		<dc:creator>as3guy</dc:creator>
		<pubDate>Wed, 31 Mar 2010 23:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4855</guid>
		<description>If your ship does not show that's probably because
your .fla document did not specify its document
class.  Open your .fla document then do the following:
1. Click on the stage
2. In the Properties panel, type in the "Document class"
   text field the following: com.asgames.basics1.Engine</description>
		<content:encoded><![CDATA[<p>If your ship does not show that&#8217;s probably because<br />
your .fla document did not specify its document<br />
class.  Open your .fla document then do the following:<br />
1. Click on the stage<br />
2. In the Properties panel, type in the &#8220;Document class&#8221;<br />
   text field the following: com.asgames.basics1.Engine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elwin</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4854</link>
		<dc:creator>Elwin</dc:creator>
		<pubDate>Mon, 29 Mar 2010 11:05:09 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4854</guid>
		<description>Hey all those who struggled in step4

First of all I`m really new to Flash as well so I came here to learn and spent nearly half an hour on how to make step4 and finally it worked.

You just have to create an Engine.as with codes as requested and a Ship.as with codes in a folder called "basics1" that is nested in "asgamer" that is nested in "com" and put your fla file (whatever you want to name it) OUT of folder com but just in a same directory.
Moreover make sure any name is capotalised or lowercased, according to their names in .fla.

And this all! Hope this helps!!

Thanks for the tutorial!</description>
		<content:encoded><![CDATA[<p>Hey all those who struggled in step4</p>
<p>First of all I`m really new to Flash as well so I came here to learn and spent nearly half an hour on how to make step4 and finally it worked.</p>
<p>You just have to create an Engine.as with codes as requested and a Ship.as with codes in a folder called &#8220;basics1&#8243; that is nested in &#8220;asgamer&#8221; that is nested in &#8220;com&#8221; and put your fla file (whatever you want to name it) OUT of folder com but just in a same directory.<br />
Moreover make sure any name is capotalised or lowercased, according to their names in .fla.</p>
<p>And this all! Hope this helps!!</p>
<p>Thanks for the tutorial!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete_kaboom</title>
		<link>http://asgamer.com/2009/flash-game-design-basics-adding-library-objects-to-stage-with-as3/comment-page-1#comment-4813</link>
		<dc:creator>Pete_kaboom</dc:creator>
		<pubDate>Tue, 16 Mar 2010 06:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://asgamer.com/?p=32#comment-4813</guid>
		<description>Based upon what I have found out and what countless others have as well is that you have to create many folders to store it. The .fla file should not be in this directory (i.e. if there was a folder for the game, you'd see basic1.fla and a folder called com).

The folders should have the following folders all inside one another in this format: (location where the .fla is)\com\asgamer\basics1. So it is com\asgamer\basic1

Look familiar? Remember this: "com.asgamer.basics1"? That's why it's in those darn folders.

So if you want it in just one folder (let's call it AS) that isn't nested in other folders, then you have the: 
- Document class called AS.Engine 
- Movie clip class as AS.Ship 
- Package (in the Engine.as and Ship.as file itself) as 'AS'

If its in the same directory as the .fla: 
- package would be blank
- Document class would be Engine
- Movie clip class would be Ship
Get the picture now?

Just in case, if you haven't got it, here's a long one.
If you nest the AS files in the directory I:\Game\Resources\Code\AS:
- Package would look like "Package Game.Resources.Code.AS"
- Movie Clip class would be Game.Resources.Code.AS.Ship
- Document class would be Game.Resources.Code.AS.Engine

Best thing to do is toy around with the source code. just do minor changes and slowly learn how everything works.</description>
		<content:encoded><![CDATA[<p>Based upon what I have found out and what countless others have as well is that you have to create many folders to store it. The .fla file should not be in this directory (i.e. if there was a folder for the game, you&#8217;d see basic1.fla and a folder called com).</p>
<p>The folders should have the following folders all inside one another in this format: (location where the .fla is)\com\asgamer\basics1. So it is com\asgamer\basic1</p>
<p>Look familiar? Remember this: &#8220;com.asgamer.basics1&#8243;? That&#8217;s why it&#8217;s in those darn folders.</p>
<p>So if you want it in just one folder (let&#8217;s call it AS) that isn&#8217;t nested in other folders, then you have the:<br />
- Document class called AS.Engine<br />
- Movie clip class as AS.Ship<br />
- Package (in the Engine.as and Ship.as file itself) as &#8216;AS&#8217;</p>
<p>If its in the same directory as the .fla:<br />
- package would be blank<br />
- Document class would be Engine<br />
- Movie clip class would be Ship<br />
Get the picture now?</p>
<p>Just in case, if you haven&#8217;t got it, here&#8217;s a long one.<br />
If you nest the AS files in the directory I:\Game\Resources\Code\AS:<br />
- Package would look like &#8220;Package Game.Resources.Code.AS&#8221;<br />
- Movie Clip class would be Game.Resources.Code.AS.Ship<br />
- Document class would be Game.Resources.Code.AS.Engine</p>
<p>Best thing to do is toy around with the source code. just do minor changes and slowly learn how everything works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
