<?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: Building a Basic Menu in ActionScript 3.0 Tutorial &#8211; Part 2 &#8211; XML</title>
	<atom:link href="http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/</link>
	<description>Calgary Flash &#38; Flex developer specializing in RIA development.</description>
	<lastBuildDate>Fri, 23 Jul 2010 17:57:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Tawhid</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-148365</link>
		<dc:creator>Tawhid</dc:creator>
		<pubDate>Wed, 10 Jun 2009 02:49:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-148365</guid>
		<description>Anybody knows how to change the text color on MouseOver on this code?</description>
		<content:encoded><![CDATA[<p>Anybody knows how to change the text color on MouseOver on this code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manny</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-147544</link>
		<dc:creator>manny</dc:creator>
		<pubDate>Wed, 20 May 2009 20:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-147544</guid>
		<description>First of all great post,

I am trying to find where we associate the button with a specific path eg Button 1 links to home.swf and button 3 is gallery.swf. 

Shouldn&#039;t this be in menu.xml?

Probably stupid question bur asking anyway</description>
		<content:encoded><![CDATA[<p>First of all great post,</p>
<p>I am trying to find where we associate the button with a specific path eg Button 1 links to home.swf and button 3 is gallery.swf. </p>
<p>Shouldn&#8217;t this be in menu.xml?</p>
<p>Probably stupid question bur asking anyway</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pauschalreisen</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-136280</link>
		<dc:creator>Pauschalreisen</dc:creator>
		<pubDate>Mon, 09 Mar 2009 14:59:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-136280</guid>
		<description>Thank you for the tutorial, it was very helpful for me.
After changing the imports u have listed in the code to these imports: 
import flash.xml.XMLDocument;
import flash.errors.*;
I had also the cpile error in this part
[ for each (p in __menuList) { ]
p seems to be undefined
I have fixed the errors and I succeeded to get the code running.Now apllication can be  instantly updated  without having to open up Flash to republish it.</description>
		<content:encoded><![CDATA[<p>Thank you for the tutorial, it was very helpful for me.<br />
After changing the imports u have listed in the code to these imports:<br />
import flash.xml.XMLDocument;<br />
import flash.errors.*;<br />
I had also the cpile error in this part<br />
[ for each (p in __menuList) { ]<br />
p seems to be undefined<br />
I have fixed the errors and I succeeded to get the code running.Now apllication can be  instantly updated  without having to open up Flash to republish it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: worked</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-125427</link>
		<dc:creator>worked</dc:creator>
		<pubDate>Sun, 08 Feb 2009 17:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-125427</guid>
		<description>Thanks for the tut! I have one question, how would I animate this menu? If I wanted each button to animate on the screen to specific location at runtime, how would I do that?  Do I need to store the XML into an array first?</description>
		<content:encoded><![CDATA[<p>Thanks for the tut! I have one question, how would I animate this menu? If I wanted each button to animate on the screen to specific location at runtime, how would I do that?  Do I need to store the XML into an array first?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psio</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-52281</link>
		<dc:creator>psio</dc:creator>
		<pubDate>Wed, 06 Feb 2008 17:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-52281</guid>
		<description>OK, so I&#039;ve fixed all of the errors except the remaining two, which have me completely stumped!

1180: Call to a possibly undefined method addChild.
This is for the part after this code...

var menuHolder:Sprite = new Sprite();
addChild(menuHolder);

5000: The class â€˜code.MenuXMLâ€™ must subclass â€˜flash.display.MovieClipâ€™ since it is linked to a library symbol of that type.

This is a result of line 1, I&#039;m just trying to show the path... help?</description>
		<content:encoded><![CDATA[<p>OK, so I&#8217;ve fixed all of the errors except the remaining two, which have me completely stumped!</p>
<p>1180: Call to a possibly undefined method addChild.<br />
This is for the part after this code&#8230;</p>
<p>var menuHolder:Sprite = new Sprite();<br />
addChild(menuHolder);</p>
<p>5000: The class â€˜code.MenuXMLâ€™ must subclass â€˜flash.display.MovieClipâ€™ since it is linked to a library symbol of that type.</p>
<p>This is a result of line 1, I&#8217;m just trying to show the path&#8230; help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psio</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-52278</link>
		<dc:creator>psio</dc:creator>
		<pubDate>Wed, 06 Feb 2008 17:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-52278</guid>
		<description>Fraser,

First off thanks for this great tutorial, but I&#039;m running into several problems/errors. Here is the list of errors in the compiler...

1180: Call to a possibly undefined method addChild.
1180: Call to a possibly undefined method addChild.
1172: Definition flash.error:Error could not be found.
5000: The class &#039;code.actionscript.MenuXML&#039; must subclass &#039;flash.display.MovieClip&#039; since it is linked to a library symbol of that type.


The first two addChild errors refer to the XML loading class. The import.error.Error isn&#039;t right for some reason in the third error. And the last one is just weird to be honost, it refers to the classification next to package path.goes.here{


Thanks for any help!</description>
		<content:encoded><![CDATA[<p>Fraser,</p>
<p>First off thanks for this great tutorial, but I&#8217;m running into several problems/errors. Here is the list of errors in the compiler&#8230;</p>
<p>1180: Call to a possibly undefined method addChild.<br />
1180: Call to a possibly undefined method addChild.<br />
1172: Definition flash.error:Error could not be found.<br />
5000: The class &#8216;code.actionscript.MenuXML&#8217; must subclass &#8216;flash.display.MovieClip&#8217; since it is linked to a library symbol of that type.</p>
<p>The first two addChild errors refer to the XML loading class. The import.error.Error isn&#8217;t right for some reason in the third error. And the last one is just weird to be honost, it refers to the classification next to package path.goes.here{</p>
<p>Thanks for any help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: qpixo</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-49943</link>
		<dc:creator>qpixo</dc:creator>
		<pubDate>Wed, 16 Jan 2008 18:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-49943</guid>
		<description>I follow this tutorial but want to add another feature. Had a hard time to figure this in AS3.
How to make a mouse selected, initialize to &quot;button0&quot; when the user click to each other button. this color will be appear in others?</description>
		<content:encoded><![CDATA[<p>I follow this tutorial but want to add another feature. Had a hard time to figure this in AS3.<br />
How to make a mouse selected, initialize to &#8220;button0&#8243; when the user click to each other button. this color will be appear in others?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: technoman</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-44568</link>
		<dc:creator>technoman</dc:creator>
		<pubDate>Fri, 30 Nov 2007 08:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-44568</guid>
		<description>Thanx for this great tutorial.
I have just finished the book essential actionscript 3.0
by colin moock and your tutorials are helping me a lot.
I am also trying to convert the basic bookselectionsytem
(example from the book flash application design solutions  by ka wai cheung and craig bryant, chapter 3)
from as2 to as3, but i am stuck with the code on the .fla
Is there anybody who has tried this or who knows where to
find a simular example?</description>
		<content:encoded><![CDATA[<p>Thanx for this great tutorial.<br />
I have just finished the book essential actionscript 3.0<br />
by colin moock and your tutorials are helping me a lot.<br />
I am also trying to convert the basic bookselectionsytem<br />
(example from the book flash application design solutions  by ka wai cheung and craig bryant, chapter 3)<br />
from as2 to as3, but i am stuck with the code on the .fla<br />
Is there anybody who has tried this or who knows where to<br />
find a simular example?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fraser Crosbie</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-39973</link>
		<dc:creator>Fraser Crosbie</dc:creator>
		<pubDate>Sun, 21 Oct 2007 03:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-39973</guid>
		<description>Hi Mark,

I just tested it out and it works fine. Make sure you give your movieClip an instance name (ie. test_mc) and then just use test_mc.x += 15. 

Watch out for root. I personally recommend you never use root because it will restrict the flexibility of your movie. Say you build an animation and use root to control its playback. If you ever want to use that animation inside another Flash project, chances are it will not work like you expect it to. I recommend you stick to using parent, or passing a reference movieClip into your code. Also, I am pretty sure root&#039;s reference has changed in AS3. I believe it no longer refers to the Stage as it did in AS2.

You can no longer use movieClip handlers in ActionScript 3. So, all of the on(release) crap is gone, thank God. You will have to start coding your projects using instance names for your movieClips like I mentioned above. Check out some of the tutorials on this site and others to learn about using Events.

Hope this helps.

Fraser ;)</description>
		<content:encoded><![CDATA[<p>Hi Mark,</p>
<p>I just tested it out and it works fine. Make sure you give your movieClip an instance name (ie. test_mc) and then just use test_mc.x += 15. </p>
<p>Watch out for root. I personally recommend you never use root because it will restrict the flexibility of your movie. Say you build an animation and use root to control its playback. If you ever want to use that animation inside another Flash project, chances are it will not work like you expect it to. I recommend you stick to using parent, or passing a reference movieClip into your code. Also, I am pretty sure root&#8217;s reference has changed in AS3. I believe it no longer refers to the Stage as it did in AS2.</p>
<p>You can no longer use movieClip handlers in ActionScript 3. So, all of the on(release) crap is gone, thank God. You will have to start coding your projects using instance names for your movieClips like I mentioned above. Check out some of the tutorials on this site and others to learn about using Events.</p>
<p>Hope this helps.</p>
<p>Fraser <img src='http://www.flashdev.ca/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-39969</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 21 Oct 2007 02:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-39969</guid>
		<description>Also, I can&#039;t figure out a simple command for the 2.0 code:

on(release){
_root.gotoAndStop(2);
}

How do I do so in 3.0?</description>
		<content:encoded><![CDATA[<p>Also, I can&#8217;t figure out a simple command for the 2.0 code:</p>
<p>on(release){<br />
_root.gotoAndStop(2);<br />
}</p>
<p>How do I do so in 3.0?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-39965</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 21 Oct 2007 02:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-39965</guid>
		<description>*I mean the switch to 3.0, in CS3*</description>
		<content:encoded><![CDATA[<p>*I mean the switch to 3.0, in CS3*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-39964</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 21 Oct 2007 02:33:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-39964</guid>
		<description>I have a question. I have been doing Flash 2.0 for years, and the switch has been pretty hard. A simple action for an object to move to the right won&#039;t even work. I&#039;ve switch all the _x&#039;s to x&#039;s, and all _root&#039;s to root&#039;s. Heres my code:
First Frame:
x += 15;

Second Frame:
gotoAndPlay(1);

What&#039;s wrong?</description>
		<content:encoded><![CDATA[<p>I have a question. I have been doing Flash 2.0 for years, and the switch has been pretty hard. A simple action for an object to move to the right won&#8217;t even work. I&#8217;ve switch all the _x&#8217;s to x&#8217;s, and all _root&#8217;s to root&#8217;s. Heres my code:<br />
First Frame:<br />
x += 15;</p>
<p>Second Frame:<br />
gotoAndPlay(1);</p>
<p>What&#8217;s wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Norley Tucker</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-39579</link>
		<dc:creator>Norley Tucker</dc:creator>
		<pubDate>Fri, 19 Oct 2007 10:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-39579</guid>
		<description>Many thanks for this and the previous tutorial, nice and clear and finally helped me to get my dynamic buttons working, cheers :)</description>
		<content:encoded><![CDATA[<p>Many thanks for this and the previous tutorial, nice and clear and finally helped me to get my dynamic buttons working, cheers <img src='http://www.flashdev.ca/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fraser Crosbie</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-33007</link>
		<dc:creator>Fraser Crosbie</dc:creator>
		<pubDate>Tue, 25 Sep 2007 04:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-33007</guid>
		<description>Hi Tony,

It looks like there must be a max amount of lines or characters for a comment as your last chunk of code got cut off. With E4X I find I am using arrays much less and XML much more. I would say that there is no need to parse XML anymore.

Maybe you can email me your code and I will add it to your comment above if Wordpress lets me.

Fraser ;)</description>
		<content:encoded><![CDATA[<p>Hi Tony,</p>
<p>It looks like there must be a max amount of lines or characters for a comment as your last chunk of code got cut off. With E4X I find I am using arrays much less and XML much more. I would say that there is no need to parse XML anymore.</p>
<p>Maybe you can email me your code and I will add it to your comment above if WordPress lets me.</p>
<p>Fraser <img src='http://www.flashdev.ca/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-32997</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Tue, 25 Sep 2007 03:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-32997</guid>
		<description>here is my xml to array to movie clip code, but I&#039;m having a hard time making my movie clips respond like buttons:

var xml:XML = new XML();
var loader:URLLoader = new URLLoader();
loader.load(new URLRequest(&quot;fsproconfig2.xml&quot;));
loader.addEventListener(
Event.COMPLETE,
	function(evt:Event):void {
		xml = XML(evt.target.data);
		var newCircleX:Number;
	            var newCircleY:Number;
		
		var num:Number = xml.fsproevent.length(); 
  		var fsproeventname:Array = new Array(); 
		var fsproeventdate:Array = new Array();
		var fsproeventpackage:Array = new Array();
		var fsproeventID:Array = new Array();
		var fsproeventlocation:Array = new Array();
		var fsproeventtheme:Array = new Array();

		newCircleX = 200;
		newCircleY = 400;

  		for (var i:Number = 0; i </description>
		<content:encoded><![CDATA[<p>here is my xml to array to movie clip code, but I&#8217;m having a hard time making my movie clips respond like buttons:</p>
<p>var xml:XML = new XML();<br />
var loader:URLLoader = new URLLoader();<br />
loader.load(new URLRequest(&#8220;fsproconfig2.xml&#8221;));<br />
loader.addEventListener(<br />
Event.COMPLETE,<br />
	function(evt:Event):void {<br />
		xml = XML(evt.target.data);<br />
		var newCircleX:Number;<br />
	            var newCircleY:Number;</p>
<p>		var num:Number = xml.fsproevent.length();<br />
  		var fsproeventname:Array = new Array();<br />
		var fsproeventdate:Array = new Array();<br />
		var fsproeventpackage:Array = new Array();<br />
		var fsproeventID:Array = new Array();<br />
		var fsproeventlocation:Array = new Array();<br />
		var fsproeventtheme:Array = new Array();</p>
<p>		newCircleX = 200;<br />
		newCircleY = 400;</p>
<p>  		for (var i:Number = 0; i</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-32992</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Tue, 25 Sep 2007 02:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-32992</guid>
		<description>Hi, 

Thanks for the tutorial. I built my AS3 code taking an xml file, parsing that into multiple arrays, then used those arrays to create buttons and populate the text fields of those buttons. Now that I see this tutorial, maybe I should just go straight from xml - buttons. Any reason not to?</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Thanks for the tutorial. I built my AS3 code taking an xml file, parsing that into multiple arrays, then used those arrays to create buttons and populate the text fields of those buttons. Now that I see this tutorial, maybe I should just go straight from xml &#8211; buttons. Any reason not to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fraser Crosbie</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-25348</link>
		<dc:creator>Fraser Crosbie</dc:creator>
		<pubDate>Thu, 23 Aug 2007 15:46:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-25348</guid>
		<description>Hi Peter,

Can you email me your fla so I can take a look at it?
fraser@flashdev.ca

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>Can you email me your fla so I can take a look at it?<br />
<a href="mailto:fraser@flashdev.ca">fraser@flashdev.ca</a></p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter souza</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-25294</link>
		<dc:creator>peter souza</dc:creator>
		<pubDate>Wed, 22 Aug 2007 22:09:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-25294</guid>
		<description>im trying to make a &#039;morphing button&#039;

i have an invisible button, and shape animated frames thay acount for the states of the button

these codes work just fine individually, but whn they are combined like this it doesnt work properly anymore


what am i doing wrong here





button1.addEventListener
(MouseEvent.MOUSE_OVER,
 function(MouseEvent)
{(gotoAndPlay(&quot;over&quot;,&quot;Scene 3&quot;))});

button1.addEventListener
(MouseEvent.MOUSE_OUT,
 function(MouseEvent)
{(gotoAndPlay(&quot;out&quot;,&quot;Scene 3&quot;))});
 
button1.addEventListener
(MouseEvent.MOUSE_UP,
  function(MouseEvent) 
  {(gotoAndStop(2))});</description>
		<content:encoded><![CDATA[<p>im trying to make a &#8216;morphing button&#8217;</p>
<p>i have an invisible button, and shape animated frames thay acount for the states of the button</p>
<p>these codes work just fine individually, but whn they are combined like this it doesnt work properly anymore</p>
<p>what am i doing wrong here</p>
<p>button1.addEventListener<br />
(MouseEvent.MOUSE_OVER,<br />
 function(MouseEvent)<br />
{(gotoAndPlay(&#8220;over&#8221;,&#8221;Scene 3&#8243;))});</p>
<p>button1.addEventListener<br />
(MouseEvent.MOUSE_OUT,<br />
 function(MouseEvent)<br />
{(gotoAndPlay(&#8220;out&#8221;,&#8221;Scene 3&#8243;))});</p>
<p>button1.addEventListener<br />
(MouseEvent.MOUSE_UP,<br />
  function(MouseEvent)<br />
  {(gotoAndStop(2))});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aDOLFOrUIZ</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-25200</link>
		<dc:creator>aDOLFOrUIZ</dc:creator>
		<pubDate>Tue, 21 Aug 2007 21:12:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-25200</guid>
		<description>I compiled it as shown and it threw me an error..

1120: Access of undefined property p.

At this line

for each (p in __menuList) {


then went reading and found that p must be defined.. and defined as an XML var.. thus the result will be..

      .......
      var p:XML;
      for each (p in __menuList) {
      .......

Thanks for the tutorials.</description>
		<content:encoded><![CDATA[<p>I compiled it as shown and it threw me an error..</p>
<p>1120: Access of undefined property p.</p>
<p>At this line</p>
<p>for each (p in __menuList) {</p>
<p>then went reading and found that p must be defined.. and defined as an XML var.. thus the result will be..</p>
<p>      &#8230;&#8230;.<br />
      var p:XML;<br />
      for each (p in __menuList) {<br />
      &#8230;&#8230;.</p>
<p>Thanks for the tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dion</title>
		<link>http://www.flashdev.ca/article/building-a-basic-menu-in-actionscript-30-tutorial-part-2-xml/comment-page-1/#comment-19050</link>
		<dc:creator>Dion</dc:creator>
		<pubDate>Sat, 14 Jul 2007 13:32:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdev.ca/?p=27#comment-19050</guid>
		<description>Hello, i am also really new to this. 
How can i make the buttons refer to a frame or link to another page in the website....?
Do i have to adjust the xml file for that or something?</description>
		<content:encoded><![CDATA[<p>Hello, i am also really new to this.<br />
How can i make the buttons refer to a frame or link to another page in the website&#8230;.?<br />
Do i have to adjust the xml file for that or something?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
