<?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 9 Button in Flex 2	</title>
	<atom:link href="https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Fri, 07 Dec 2007 16:06:21 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: John		</title>
		<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/comment-page-1#comment-32297</link>

		<dc:creator><![CDATA[John]]></dc:creator>
		<pubDate>Fri, 07 Dec 2007 16:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1048#comment-32297</guid>

					<description><![CDATA[Thanks for this, Jesse. As for elements within the button triggering another rollOver event, add this to the BlueTechButtonSymbol constructor:

this.mouseChildren = false;]]></description>
			<content:encoded><![CDATA[<p>Thanks for this, Jesse. As for elements within the button triggering another rollOver event, add this to the BlueTechButtonSymbol constructor:</p>
<p>this.mouseChildren = false;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Josephine		</title>
		<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/comment-page-1#comment-4582</link>

		<dc:creator><![CDATA[Josephine]]></dc:creator>
		<pubDate>Thu, 26 Jul 2007 15:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1048#comment-4582</guid>

					<description><![CDATA[This tutorial is great, but all the links to the source code go to Error 404 - Not Found page.  Any chance you could fix those links so I could check out the source?
Thanks,
Josephine]]></description>
			<content:encoded><![CDATA[<p>This tutorial is great, but all the links to the source code go to Error 404 &#8211; Not Found page.  Any chance you could fix those links so I could check out the source?<br />
Thanks,<br />
Josephine</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt		</title>
		<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/comment-page-1#comment-4384</link>

		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Thu, 12 Jul 2007 21:05:33 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1048#comment-4384</guid>

					<description><![CDATA[i figured it out. i see that i can just retrieve and then add my &#039;id&#039; attribute in the createChildren() method. but when i click the button and try to read event.target.id from my handler, i get the following error: 

#1069: Property id not fuond on flash.text.TextField and there is no default value. 

what can i do to get around this? thanks again. -- matt.]]></description>
			<content:encoded><![CDATA[<p>i figured it out. i see that i can just retrieve and then add my &#8216;id&#8217; attribute in the createChildren() method. but when i click the button and try to read event.target.id from my handler, i get the following error: </p>
<p>#1069: Property id not fuond on flash.text.TextField and there is no default value. </p>
<p>what can i do to get around this? thanks again. &#8212; matt.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt		</title>
		<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/comment-page-1#comment-4382</link>

		<dc:creator><![CDATA[Matt]]></dc:creator>
		<pubDate>Thu, 12 Jul 2007 14:44:33 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1048#comment-4382</guid>

					<description><![CDATA[hi...

..and thanks for this great tutorial. it has been immensely helpful in getting me to incorporate flash designed buttons into my flex app. i do have one question, though. i am trying (unsuccessfully) to add an &quot;id&quot; attribute to this button so i can specify it just like you do with the label attribute in mxml. how would i go about doing this?

thanks for any tips and thanks again for a great tutorial. -- matt.]]></description>
			<content:encoded><![CDATA[<p>hi&#8230;</p>
<p>..and thanks for this great tutorial. it has been immensely helpful in getting me to incorporate flash designed buttons into my flex app. i do have one question, though. i am trying (unsuccessfully) to add an &#8220;id&#8221; attribute to this button so i can specify it just like you do with the label attribute in mxml. how would i go about doing this?</p>
<p>thanks for any tips and thanks again for a great tutorial. &#8212; matt.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Travis		</title>
		<link>https://jessewarden.com/2006/08/flash-9-button-in-flex-2.html/comment-page-1#comment-3734</link>

		<dc:creator><![CDATA[Travis]]></dc:creator>
		<pubDate>Wed, 20 Jun 2007 02:17:57 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1048#comment-3734</guid>

					<description><![CDATA[There is one thing I&#039;d like to point to your otherwise excellent post about getting animated buttons from Flash into Flex. If you move your mouse slowly over different parts of the button you&#039;ll see that the MOUSE_OVER event fires everytime you hit a different part of the button. The easiest way I&#039;ve come to get around this is to create an invisible movieclip right below the labels layer and name it hotSpot as well as instance name it hotSpot. Then inside the Symbol.as set your event listeners to only list on that movieclip. So your code would be as follows.

public var hotSpot:MovieClip;

public function BlueTechButtonSymbol() {
			super();
			
			hotSpot.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
			hotSpot.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
			
			// stop, since our frame actions are removed
			stop();
		}



]]></description>
			<content:encoded><![CDATA[<p>There is one thing I&#8217;d like to point to your otherwise excellent post about getting animated buttons from Flash into Flex. If you move your mouse slowly over different parts of the button you&#8217;ll see that the MOUSE_OVER event fires everytime you hit a different part of the button. The easiest way I&#8217;ve come to get around this is to create an invisible movieclip right below the labels layer and name it hotSpot as well as instance name it hotSpot. Then inside the Symbol.as set your event listeners to only list on that movieclip. So your code would be as follows.</p>
<p>public var hotSpot:MovieClip;</p>
<p>public function BlueTechButtonSymbol() {<br />
			super();</p>
<p>			hotSpot.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver);<br />
			hotSpot.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut);</p>
<p>			// stop, since our frame actions are removed<br />
			stop();<br />
		}</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
