<?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: Glossy buttons in pure as3 code</title>
	<atom:link href="http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/</link>
	<description>A blog about User Interface, User Experience, Design, Flash, Product management and all that goes in between.</description>
	<lastBuildDate>Wed, 02 Jun 2010 11:48:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Victor Y. Sklyar</title>
		<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/comment-page-1/#comment-661</link>
		<dc:creator>Victor Y. Sklyar</dc:creator>
		<pubDate>Wed, 02 Jun 2010 11:48:49 +0000</pubDate>
		<guid isPermaLink="false">http://todepoint.com/blog/?p=46#comment-661</guid>
		<description>eurika!

just 

rg.addEventListener(MouseEvent.CLICK, onButPress);</description>
		<content:encoded><![CDATA[<p>eurika!</p>
<p>just </p>
<p>rg.addEventListener(MouseEvent.CLICK, onButPress);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Y. Sklyar</title>
		<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/comment-page-1/#comment-660</link>
		<dc:creator>Victor Y. Sklyar</dc:creator>
		<pubDate>Wed, 02 Jun 2010 11:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://todepoint.com/blog/?p=46#comment-660</guid>
		<description>yes, i do so

rg = new RoundGlossy(30, 20, 30);
rg.x = 100;
rg.y = 100;

rg.setCaption(&quot;test&quot;);
//rg.addEventListener(onButPress, onButPress); //what we need to do here to handle onButPress?
addChild(rg);

...

public function onPutPress():void
{
	trace(&quot;onButPress&quot;);
}</description>
		<content:encoded><![CDATA[<p>yes, i do so</p>
<p>rg = new RoundGlossy(30, 20, 30);<br />
rg.x = 100;<br />
rg.y = 100;</p>
<p>rg.setCaption(&#8220;test&#8221;);<br />
//rg.addEventListener(onButPress, onButPress); //what we need to do here to handle onButPress?<br />
addChild(rg);</p>
<p>&#8230;</p>
<p>public function onPutPress():void<br />
{<br />
	trace(&#8220;onButPress&#8221;);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adi</title>
		<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/comment-page-1/#comment-659</link>
		<dc:creator>adi</dc:creator>
		<pubDate>Wed, 02 Jun 2010 10:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://todepoint.com/blog/?p=46#comment-659</guid>
		<description>Hey Victor, using the class should be something like this:

var blue:RoundGlossy = new RoundGlossy(30, 0x006699, 0x00FFFF);
	blue.x = 100;
	blue.y = 100;
	blue.setCaption(&quot;GO&quot;);
this.addChild(blue);

In order to add behavior you can simply add your function in the class instead of: &#039;// do something&#039;..

Good luck!</description>
		<content:encoded><![CDATA[<p>Hey Victor, using the class should be something like this:</p>
<p>var blue:RoundGlossy = new RoundGlossy(30, 0&#215;006699, 0x00FFFF);<br />
	blue.x = 100;<br />
	blue.y = 100;<br />
	blue.setCaption(&#8220;GO&#8221;);<br />
this.addChild(blue);</p>
<p>In order to add behavior you can simply add your function in the class instead of: &#8216;// do something&#8217;..</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victor Y. Sklyar</title>
		<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/comment-page-1/#comment-658</link>
		<dc:creator>Victor Y. Sklyar</dc:creator>
		<pubDate>Wed, 02 Jun 2010 09:43:14 +0000</pubDate>
		<guid isPermaLink="false">http://todepoint.com/blog/?p=46#comment-658</guid>
		<description>Hello!

Can you show me how to handle press event on this button?

rg = new RoundGlossy(30, 20, 30);
rg.x = 100;
rg.y = 100;
//how to handle onButPress?

sorry I am newbe in actionscript (</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>Can you show me how to handle press event on this button?</p>
<p>rg = new RoundGlossy(30, 20, 30);<br />
rg.x = 100;<br />
rg.y = 100;<br />
//how to handle onButPress?</p>
<p>sorry I am newbe in actionscript (</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: celeiner</title>
		<link>http://todepoint.com/blog/2008/04/10/glossy-buttons-in-pure-as3-code/comment-page-1/#comment-351</link>
		<dc:creator>celeiner</dc:creator>
		<pubDate>Fri, 30 Jan 2009 21:01:23 +0000</pubDate>
		<guid isPermaLink="false">http://todepoint.com/blog/?p=46#comment-351</guid>
		<description>Excellent -got a rectangle??</description>
		<content:encoded><![CDATA[<p>Excellent -got a rectangle??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
