<?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: Colorful tabbed menu</title>
	<atom:link href="http://flashadvanced.com/actionscript-3-basics/colorful-tabbed-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashadvanced.com/actionscript-3-basics/colorful-tabbed-menu/</link>
	<description>Become an advanced flash developer</description>
	<lastBuildDate>Wed, 28 Jul 2010 09:42:22 +0300</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Cor</title>
		<link>http://flashadvanced.com/actionscript-3-basics/colorful-tabbed-menu/comment-page-1/#comment-1296</link>
		<dc:creator>Cor</dc:creator>
		<pubDate>Sun, 13 Jun 2010 07:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=354#comment-1296</guid>
		<description>Lots of nice tutorials!

I would like to make a suggestion on this one to keep code small:

//Give the frame labels the coresponding button name.

home_btn.addEventListener(MouseEvent.CLICK, homeSelected);
about_btn.addEventListener(MouseEvent.CLICK, aboutSelected);
pf_btn.addEventListener(MouseEvent.CLICK, portfolioSelected);
photos_btn.addEventListener(MouseEvent.CLICK, photosSelected);
contact_btn.addEventListener(MouseEvent.CLICK, contactSelected);

//All done in 1 function.
function homeSelected(e:MouseEvent):void{
	gotoAndPlay(e.target.name);
}</description>
		<content:encoded><![CDATA[<p>Lots of nice tutorials!</p>
<p>I would like to make a suggestion on this one to keep code small:</p>
<p>//Give the frame labels the coresponding button name.</p>
<p>home_btn.addEventListener(MouseEvent.CLICK, homeSelected);<br />
about_btn.addEventListener(MouseEvent.CLICK, aboutSelected);<br />
pf_btn.addEventListener(MouseEvent.CLICK, portfolioSelected);<br />
photos_btn.addEventListener(MouseEvent.CLICK, photosSelected);<br />
contact_btn.addEventListener(MouseEvent.CLICK, contactSelected);</p>
<p>//All done in 1 function.<br />
function homeSelected(e:MouseEvent):void{<br />
	gotoAndPlay(e.target.name);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: earthflyer</title>
		<link>http://flashadvanced.com/actionscript-3-basics/colorful-tabbed-menu/comment-page-1/#comment-73</link>
		<dc:creator>earthflyer</dc:creator>
		<pubDate>Thu, 27 Aug 2009 16:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://flashadvanced.com/?p=354#comment-73</guid>
		<description>This is a good little tutorial here, helped me to understand abit more ActionScripts

Many thanks

earthflyer</description>
		<content:encoded><![CDATA[<p>This is a good little tutorial here, helped me to understand abit more ActionScripts</p>
<p>Many thanks</p>
<p>earthflyer</p>
]]></content:encoded>
	</item>
</channel>
</rss>
