<?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: Flash Dropdown Menu ActionScript 3</title>
	<atom:link href="http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 14:15:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Rafa</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-5230</link>
		<dc:creator>Rafa</dc:creator>
		<pubDate>Tue, 27 Dec 2011 13:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-5230</guid>
		<description>Hi this tutorial is awesome, I followed it and the result was fine, but how it is said in the below message I had troubles to link the buttons to each content. I just used the gotoAndPlay/gotoAndStop method, but it is not working It is said that the instance name of the button is undefined. I think I need other coding.  Unfortunately it seems to be that Mette wasn&#039;t replied however if you guys know any tutorial about this please let me know. 

Thanks,

Rafa</description>
		<content:encoded><![CDATA[<p>Hi this tutorial is awesome, I followed it and the result was fine, but how it is said in the below message I had troubles to link the buttons to each content. I just used the gotoAndPlay/gotoAndStop method, but it is not working It is said that the instance name of the button is undefined. I think I need other coding.  Unfortunately it seems to be that Mette wasn&#8217;t replied however if you guys know any tutorial about this please let me know. </p>
<p>Thanks,</p>
<p>Rafa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mette</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-4584</link>
		<dc:creator>Mette</dc:creator>
		<pubDate>Sat, 23 Apr 2011 11:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-4584</guid>
		<description>Hi
How do I link from the dropdown menu?
It would be perfect if you could answer me soon, it for my exam.
Thank you in advance! :-)

//Mette</description>
		<content:encoded><![CDATA[<p>Hi<br />
How do I link from the dropdown menu?<br />
It would be perfect if you could answer me soon, it for my exam.<br />
Thank you in advance! <img src='http://www.dlocc.com/articles/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>//Mette</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Danielson</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-4214</link>
		<dc:creator>Bill Danielson</dc:creator>
		<pubDate>Mon, 28 Feb 2011 21:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-4214</guid>
		<description>I am having some trouble with the code, I am adding a second and maybe a third menu button that when you click on it, it will drop down the menu like the first one, but when I position my y cordinate I and test the code doesn&#039;t matter what button I push the drop down menu goes to the position of the second menu button not where as I when I click on the first menu button, I want the drop down menu to line up with that menu button and the second menu button I want the drop down menu to line up with that one.  I guess that is what I am saying,   Here is my code so you can understand.  


//Import the required classes
import fl.transitions.Tween;    
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

//Turn on buttonMode for our movieclips 
button_mc.buttonMode=true; 
button_mc1.buttonMode=true;
dropdown_mc.buttonMode=true; 

//Add the dropDown Event Listener 
button_mc.addEventListener(MouseEvent.CLICK, dropDown);
button_mc1.addEventListener(MouseEvent.CLICK, dropDown);

//initial dropDown function to animate on our dropdown movieclip into the mask
function dropDown(e:MouseEvent):void
{
	 var enterTween:Tween;
	 enterTween = new Tween(dropdown_mc, &quot;y&quot;, Regular.easeOut, dropdown_mc.y,  85.65, 30, false);
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropUpEventListener);
	 enterTween = new Tween(dropdown_mc, &quot;y&quot;, Regular.easeOut, dropdown_mc.y, 115.70, 30, false);
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropUpEventListener);
}

//This function is called on after the dropdown animation is finished
function dropUpEventListener(e:TweenEvent):void
{
	button_mc.removeEventListener(MouseEvent.CLICK, dropDown);  //remove event listener to dropDown function
	button_mc.addEventListener(MouseEvent.CLICK, dropUp); // add event listener for dropUp function
	button_mc1.removeEventListener(MouseEvent.CLICK, dropDown);  //remove event listener to dropDown function
	button_mc1.addEventListener(MouseEvent.CLICK, dropUp);
}

//Drop up function tweens out our dropdown movieclip from the mask
function dropUp (e:Event):void
{
	 var enterTween:Tween;
	 enterTween = new Tween(dropdown_mc, &quot;y&quot;, Regular.easeOut, dropdown_mc.y,  -61.45, 30, false);
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropDownEventListener);
	 enterTween = new Tween(dropdown_mc, &quot;y&quot;, Regular.easeOut, dropdown_mc.y,  -61.45, 30, false);
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropDownEventListener);
}

//Function does the exact opposite of the dropUpEventListener
function dropDownEventListener(e:TweenEvent):void
{
	button_mc.removeEventListener(MouseEvent.CLICK, dropUp);
	button_mc.addEventListener(MouseEvent.CLICK, dropDown);
	button_mc1.removeEventListener(MouseEvent.CLICK, dropUp);
	button_mc1.addEventListener(MouseEvent.CLICK, dropDown);
}

Thankyou

Bill</description>
		<content:encoded><![CDATA[<p>I am having some trouble with the code, I am adding a second and maybe a third menu button that when you click on it, it will drop down the menu like the first one, but when I position my y cordinate I and test the code doesn&#8217;t matter what button I push the drop down menu goes to the position of the second menu button not where as I when I click on the first menu button, I want the drop down menu to line up with that menu button and the second menu button I want the drop down menu to line up with that one.  I guess that is what I am saying,   Here is my code so you can understand.  </p>
<p>//Import the required classes<br />
import fl.transitions.Tween;<br />
import fl.transitions.easing.*;<br />
import fl.transitions.TweenEvent;</p>
<p>//Turn on buttonMode for our movieclips<br />
button_mc.buttonMode=true;<br />
button_mc1.buttonMode=true;<br />
dropdown_mc.buttonMode=true; </p>
<p>//Add the dropDown Event Listener<br />
button_mc.addEventListener(MouseEvent.CLICK, dropDown);<br />
button_mc1.addEventListener(MouseEvent.CLICK, dropDown);</p>
<p>//initial dropDown function to animate on our dropdown movieclip into the mask<br />
function dropDown(e:MouseEvent):void<br />
{<br />
	 var enterTween:Tween;<br />
	 enterTween = new Tween(dropdown_mc, &#8220;y&#8221;, Regular.easeOut, dropdown_mc.y,  85.65, 30, false);<br />
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropUpEventListener);<br />
	 enterTween = new Tween(dropdown_mc, &#8220;y&#8221;, Regular.easeOut, dropdown_mc.y, 115.70, 30, false);<br />
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropUpEventListener);<br />
}</p>
<p>//This function is called on after the dropdown animation is finished<br />
function dropUpEventListener(e:TweenEvent):void<br />
{<br />
	button_mc.removeEventListener(MouseEvent.CLICK, dropDown);  //remove event listener to dropDown function<br />
	button_mc.addEventListener(MouseEvent.CLICK, dropUp); // add event listener for dropUp function<br />
	button_mc1.removeEventListener(MouseEvent.CLICK, dropDown);  //remove event listener to dropDown function<br />
	button_mc1.addEventListener(MouseEvent.CLICK, dropUp);<br />
}</p>
<p>//Drop up function tweens out our dropdown movieclip from the mask<br />
function dropUp (e:Event):void<br />
{<br />
	 var enterTween:Tween;<br />
	 enterTween = new Tween(dropdown_mc, &#8220;y&#8221;, Regular.easeOut, dropdown_mc.y,  -61.45, 30, false);<br />
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropDownEventListener);<br />
	 enterTween = new Tween(dropdown_mc, &#8220;y&#8221;, Regular.easeOut, dropdown_mc.y,  -61.45, 30, false);<br />
	 enterTween.addEventListener(TweenEvent.MOTION_FINISH, dropDownEventListener);<br />
}</p>
<p>//Function does the exact opposite of the dropUpEventListener<br />
function dropDownEventListener(e:TweenEvent):void<br />
{<br />
	button_mc.removeEventListener(MouseEvent.CLICK, dropUp);<br />
	button_mc.addEventListener(MouseEvent.CLICK, dropDown);<br />
	button_mc1.removeEventListener(MouseEvent.CLICK, dropUp);<br />
	button_mc1.addEventListener(MouseEvent.CLICK, dropDown);<br />
}</p>
<p>Thankyou</p>
<p>Bill</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nancy Jones</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-1335</link>
		<dc:creator>Nancy Jones</dc:creator>
		<pubDate>Sat, 10 Apr 2010 20:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-1335</guid>
		<description>Hi.... I followed your drop down tutorial but wanted it to slide down when it was entered and slide back up when it was out.  I did that using MOUSE_OVER and MOUSE_OUT.  My problem is that the drop down also goes away when your mouse moves out.  How can I keep the dropdown open so the user can choose one of the drop down options?

Thanks!
Jonesy RGB</description>
		<content:encoded><![CDATA[<p>Hi&#8230;. I followed your drop down tutorial but wanted it to slide down when it was entered and slide back up when it was out.  I did that using MOUSE_OVER and MOUSE_OUT.  My problem is that the drop down also goes away when your mouse moves out.  How can I keep the dropdown open so the user can choose one of the drop down options?</p>
<p>Thanks!<br />
Jonesy RGB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin Walker</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-123</link>
		<dc:creator>Devin Walker</dc:creator>
		<pubDate>Tue, 08 Dec 2009 06:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-123</guid>
		<description>@Matt Koegler

You&#039;re welcome! I&#039;m glad you could follow my tutorial.  Now you can use that code on other projects! Thanks for checking out my site.  I&#039;m currently redesigning it, come back and check me out sometime!

Devin</description>
		<content:encoded><![CDATA[<p>@Matt Koegler</p>
<p>You&#8217;re welcome! I&#8217;m glad you could follow my tutorial.  Now you can use that code on other projects! Thanks for checking out my site.  I&#8217;m currently redesigning it, come back and check me out sometime!</p>
<p>Devin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Koegler</title>
		<link>http://www.dlocc.com/articles/flash-dropdown-menu-actionscript-3/comment-page-1/#comment-122</link>
		<dc:creator>Matt Koegler</dc:creator>
		<pubDate>Tue, 08 Dec 2009 05:54:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.dlocc.com/DLOCC/articles/?p=277#comment-122</guid>
		<description>I&#039;m a total N00B at web design, but I have 25+ years experience in print. Got handed a project for the City of Apopka, Florida to design and build a web site for their Economic Development Incentive Programs. I thought dropdown menus using CSS would be enough, but I didn&#039;t like the look. After searching, I found your tutorial on YouTube. Great work, you talked a person who has zero, and I mean ZERO, experience in code and successfully talked him through this via a recording. And I can save this code &#039;I wrote&#039; for future projects with just some minor tweeks in names and x and y values. Thanks LOADS.</description>
		<content:encoded><![CDATA[<p>I&#8217;m a total N00B at web design, but I have 25+ years experience in print. Got handed a project for the City of Apopka, Florida to design and build a web site for their Economic Development Incentive Programs. I thought dropdown menus using CSS would be enough, but I didn&#8217;t like the look. After searching, I found your tutorial on YouTube. Great work, you talked a person who has zero, and I mean ZERO, experience in code and successfully talked him through this via a recording. And I can save this code &#8216;I wrote&#8217; for future projects with just some minor tweeks in names and x and y values. Thanks LOADS.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

