<?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 Button Behavior Made Easy</title>
	<atom:link href="http://xtyler.com/code/112/feed" rel="self" type="application/rss+xml" />
	<link>http://xtyler.com/code/112</link>
	<description>a developer&#039;s blog.</description>
	<lastBuildDate>Tue, 19 Apr 2011 14:30:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: xtyler</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-12219</link>
		<dc:creator>xtyler</dc:creator>
		<pubDate>Tue, 19 Apr 2011 14:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-12219</guid>
		<description>Joseph - I&#039;m not sure what usecase you&#039;re trying to fit but you can either 1) design your button to show the same skin with &quot;over&quot; as you do with &quot;down&quot; or 2) instead of listening to the &quot;upState&quot;/&quot;overState&quot;/&quot;downState&quot; events you can listen to the &quot;onPress&quot;/&quot;onRelease&quot;/etc events for more specific control of your states.</description>
		<content:encoded><![CDATA[<p>Joseph &#8211; I&#8217;m not sure what usecase you&#8217;re trying to fit but you can either 1) design your button to show the same skin with &#8220;over&#8221; as you do with &#8220;down&#8221; or 2) instead of listening to the &#8220;upState&#8221;/&#8221;overState&#8221;/&#8221;downState&#8221; events you can listen to the &#8220;onPress&#8221;/&#8221;onRelease&#8221;/etc events for more specific control of your states.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joseph</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-12218</link>
		<dc:creator>joseph</dc:creator>
		<pubDate>Tue, 19 Apr 2011 08:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-12218</guid>
		<description>Excellent work tyler ... I&#039;m new in action script but I&#039;m learning a lot from guys like I was wondering if you could helped me how to display only the over state of a button when it is pressed in flash cs4 thanks and more POWER!!!</description>
		<content:encoded><![CDATA[<p>Excellent work tyler &#8230; I&#8217;m new in action script but I&#8217;m learning a lot from guys like I was wondering if you could helped me how to display only the over state of a button when it is pressed in flash cs4 thanks and more POWER!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xtyler</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-11968</link>
		<dc:creator>xtyler</dc:creator>
		<pubDate>Tue, 23 Mar 2010 23:42:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-11968</guid>
		<description>Aidan - thanks for your high praise! I implemented the stateUp, stateOver and stateDown to match the behavior of SimpleButton to remain consistent with Flash standards. Because the dragOver/dragOut events are available you can easily roll your own behavior.

I&#039;m using this solution in a much larger context these days, don&#039;t miss out on the Reflex component framework.</description>
		<content:encoded><![CDATA[<p>Aidan &#8211; thanks for your high praise! I implemented the stateUp, stateOver and stateDown to match the behavior of SimpleButton to remain consistent with Flash standards. Because the dragOver/dragOut events are available you can easily roll your own behavior.</p>
<p>I&#8217;m using this solution in a much larger context these days, don&#8217;t miss out on the Reflex component framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: onReleaseOutside for AS3 &#171; Shide and Prame</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-11967</link>
		<dc:creator>onReleaseOutside for AS3 &#171; Shide and Prame</dc:creator>
		<pubDate>Tue, 23 Mar 2010 22:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-11967</guid>
		<description>[...] But as it turns out, I don&#8217;t have to anymore because Tyler of xtyler.com has released a super-groovy as3 library for making any InteractiveObject behave as a button. [...]</description>
		<content:encoded><![CDATA[<p>[...] But as it turns out, I don&#8217;t have to anymore because Tyler of xtyler.com has released a super-groovy as3 library for making any InteractiveObject behave as a button. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Fraser</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-11966</link>
		<dc:creator>Aidan Fraser</dc:creator>
		<pubDate>Tue, 23 Mar 2010 22:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-11966</guid>
		<description>Dude... _excellent_ library. And commenting out the wazoo.

One finicky suggestion is to somehow be able to modify the behaviour when you click, drag outside. At the moment, on drag outside, the button returns to mouseOver state. It would be nice to be able to set it to return to the up state, which is the way buttons work in most UIs.

In any case, great work!</description>
		<content:encoded><![CDATA[<p>Dude&#8230; _excellent_ library. And commenting out the wazoo.</p>
<p>One finicky suggestion is to somehow be able to modify the behaviour when you click, drag outside. At the moment, on drag outside, the button returns to mouseOver state. It would be nice to be able to set it to return to the up state, which is the way buttons work in most UIs.</p>
<p>In any case, great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidan Fraser</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-11965</link>
		<dc:creator>Aidan Fraser</dc:creator>
		<pubDate>Tue, 23 Mar 2010 22:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-11965</guid>
		<description>Ah man. If only I&#039;d found this a few days ago.</description>
		<content:encoded><![CDATA[<p>Ah man. If only I&#8217;d found this a few days ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NB</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-11825</link>
		<dc:creator>NB</dc:creator>
		<pubDate>Thu, 02 Jul 2009 16:52:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-11825</guid>
		<description>Hi mate, I just wanted to thankyou for such a great and &quot;easy to use&quot; class, a possible next step could be passing attributes inside the constructor? maybe an object with all the attributes needed? I&#039;ll bookmark this page and come back later... Back in AS2 I had this customized Delegate.create(scope,fn,param0,param2,param3...) that wordked great...
thanks anyway! cya around and happy coding</description>
		<content:encoded><![CDATA[<p>Hi mate, I just wanted to thankyou for such a great and &#8220;easy to use&#8221; class, a possible next step could be passing attributes inside the constructor? maybe an object with all the attributes needed? I&#8217;ll bookmark this page and come back later&#8230; Back in AS2 I had this customized Delegate.create(scope,fn,param0,param2,param3&#8230;) that wordked great&#8230;<br />
thanks anyway! cya around and happy coding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xtyler</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-10976</link>
		<dc:creator>xtyler</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-10976</guid>
		<description>Simple button has all the functionality built in, so it would have worked great if all I wanted was a custom shiny button. However, I wanted a general solution, not just a the shiny button. This solution is an example of composition over inheritance, allowing you more freedom to inherit from any InteractiveObject that best suites your needs.</description>
		<content:encoded><![CDATA[<p>Simple button has all the functionality built in, so it would have worked great if all I wanted was a custom shiny button. However, I wanted a general solution, not just a the shiny button. This solution is an example of composition over inheritance, allowing you more freedom to inherit from any InteractiveObject that best suites your needs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: julien</title>
		<link>http://xtyler.com/code/112/comment-page-1#comment-10975</link>
		<dc:creator>julien</dc:creator>
		<pubDate>Fri, 30 Jan 2009 17:13:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.xtyler.com/?p=112#comment-10975</guid>
		<description>Nice button indeed.
I was wondering why you don&#039;t subclass SimpleButton instead of Sprite?</description>
		<content:encoded><![CDATA[<p>Nice button indeed.<br />
I was wondering why you don&#8217;t subclass SimpleButton instead of Sprite?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

