<?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: Alert! Alert! Listen to the buttons!</title>
	<atom:link href="http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/</link>
	<description>Andrew Spaulding on Adobe Flash Platform Technologies</description>
	<lastBuildDate>Mon, 20 Jun 2011 04:58:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: smön</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-256889</link>
		<dc:creator>smön</dc:creator>
		<pubDate>Thu, 09 Dec 2010 12:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-256889</guid>
		<description>if someone is still interested in how to accomplish this in flex 3:

{
	var alert : Alert = Alert.show(
		&quot;TEXT&quot;,
		&quot;TITLE&quot;,
		Alert.NO &#124; Alert.YES,
		null,
		null,
		null,
		Alert.NO);

	alert.addEventListener(CloseEvent.CLOSE, function(event:CloseEvent) : void { handleAlert(event, &quot;EXTRA PARAMETER&quot;); } );
}

public function handleAlert(event : CloseEvent, extraParam : String) : void {
	if( event.detail == Alert.YES)
	{
		...
	}
}
</description>
		<content:encoded><![CDATA[<p>if someone is still interested in how to accomplish this in flex 3:</p>
<p>{<br />
	var alert : Alert = Alert.show(<br />
		&#8220;TEXT&#8221;,<br />
		&#8220;TITLE&#8221;,<br />
		Alert.NO | Alert.YES,<br />
		null,<br />
		null,<br />
		null,<br />
		Alert.NO);</p>
<p>	alert.addEventListener(CloseEvent.CLOSE, function(event:CloseEvent) : void { handleAlert(event, &#8220;EXTRA PARAMETER&#8221;); } );<br />
}</p>
<p>public function handleAlert(event : CloseEvent, extraParam : String) : void {<br />
	if( event.detail == Alert.YES)<br />
	{<br />
		&#8230;<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handoyo</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-254148</link>
		<dc:creator>handoyo</dc:creator>
		<pubDate>Thu, 30 Jul 2009 12:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-254148</guid>
		<description>Hi all,just remove the delegate..I use this code 

 private function hapus(e:ContextMenuEvent):void
		 {
		 	Alert.show(&quot;Anda Yakin?&quot;,&quot;Hapus Data&quot;,Alert.YES&#124;Alert.NO,null,this.handlehapus);
		 }
 
private function handlehapus(event:CloseEvent):void
		 {
		 	if (event.detail==Alert.YES)
		 	{
		 		Alert.show(&quot;Warning&quot;,&quot;Anda milih yes&quot;);
		 	}
		 	else
		 	{
		 		Alert.show(&quot;Warning&quot;,&quot;Anda milih no&quot;);
		 	}

For me it works...</description>
		<content:encoded><![CDATA[<p>Hi all,just remove the delegate..I use this code </p>
<p> private function hapus(e:ContextMenuEvent):void<br />
		 {<br />
		 	Alert.show(&#8220;Anda Yakin?&#8221;,&#8221;Hapus Data&#8221;,Alert.YES|Alert.NO,null,this.handlehapus);<br />
		 }</p>
<p>private function handlehapus(event:CloseEvent):void<br />
		 {<br />
		 	if (event.detail==Alert.YES)<br />
		 	{<br />
		 		Alert.show(&#8220;Warning&#8221;,&#8221;Anda milih yes&#8221;);<br />
		 	}<br />
		 	else<br />
		 	{<br />
		 		Alert.show(&#8220;Warning&#8221;,&#8221;Anda milih no&#8221;);<br />
		 	}</p>
<p>For me it works&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: handoyo</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-256665</link>
		<dc:creator>handoyo</dc:creator>
		<pubDate>Thu, 30 Jul 2009 12:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-256665</guid>
		<description>Hi all,just remove the delegate..I use this code 

 private function hapus(e:ContextMenuEvent):void
		 {
		 	Alert.show(&quot;Anda Yakin?&quot;,&quot;Hapus Data&quot;,Alert.YES&#124;Alert.NO,null,this.handlehapus);
		 }
 
private function handlehapus(event:CloseEvent):void
		 {
		 	if (event.detail==Alert.YES)
		 	{
		 		Alert.show(&quot;Warning&quot;,&quot;Anda milih yes&quot;);
		 	}
		 	else
		 	{
		 		Alert.show(&quot;Warning&quot;,&quot;Anda milih no&quot;);
		 	}

For me it works...</description>
		<content:encoded><![CDATA[<p>Hi all,just remove the delegate..I use this code </p>
<p> private function hapus(e:ContextMenuEvent):void<br />
		 {<br />
		 	Alert.show(&#8220;Anda Yakin?&#8221;,&#8221;Hapus Data&#8221;,Alert.YES|Alert.NO,null,this.handlehapus);<br />
		 }</p>
<p>private function handlehapus(event:CloseEvent):void<br />
		 {<br />
		 	if (event.detail==Alert.YES)<br />
		 	{<br />
		 		Alert.show(&#8220;Warning&#8221;,&#8221;Anda milih yes&#8221;);<br />
		 	}<br />
		 	else<br />
		 	{<br />
		 		Alert.show(&#8220;Warning&#8221;,&#8221;Anda milih no&#8221;);<br />
		 	}</p>
<p>For me it works&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacob</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-250684</link>
		<dc:creator>jacob</dc:creator>
		<pubDate>Sat, 09 May 2009 18:15:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-250684</guid>
		<description>Hi there, Nice example.. but....

How does it work when i want to have a checkbox in my alert window?
Something like a Remember this setting checkbox.

And how do i get a listener from that?

Greets, Jacob</description>
		<content:encoded><![CDATA[<p>Hi there, Nice example.. but&#8230;.</p>
<p>How does it work when i want to have a checkbox in my alert window?<br />
Something like a Remember this setting checkbox.</p>
<p>And how do i get a listener from that?</p>
<p>Greets, Jacob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jacob</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-256664</link>
		<dc:creator>jacob</dc:creator>
		<pubDate>Sat, 09 May 2009 18:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-256664</guid>
		<description>Hi there, Nice example.. but....

How does it work when i want to have a checkbox in my alert window?
Something like a Remember this setting checkbox.

And how do i get a listener from that?

Greets, Jacob</description>
		<content:encoded><![CDATA[<p>Hi there, Nice example.. but&#8230;.</p>
<p>How does it work when i want to have a checkbox in my alert window?<br />
Something like a Remember this setting checkbox.</p>
<p>And how do i get a listener from that?</p>
<p>Greets, Jacob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-249042</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Wed, 29 Apr 2009 22:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-249042</guid>
		<description>Flex 3 has removed the Delegate class, but this would still be something usefull (unless everyone else is dont delete confirms differently then I am).
How do we accomplish the same task with Flex 3?</description>
		<content:encoded><![CDATA[<p>Flex 3 has removed the Delegate class, but this would still be something usefull (unless everyone else is dont delete confirms differently then I am).<br />
How do we accomplish the same task with Flex 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephanie</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-256663</link>
		<dc:creator>Stephanie</dc:creator>
		<pubDate>Wed, 29 Apr 2009 22:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-256663</guid>
		<description>Flex 3 has removed the Delegate class, but this would still be something usefull (unless everyone else is dont delete confirms differently then I am).
How do we accomplish the same task with Flex 3?</description>
		<content:encoded><![CDATA[<p>Flex 3 has removed the Delegate class, but this would still be something usefull (unless everyone else is dont delete confirms differently then I am).<br />
How do we accomplish the same task with Flex 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Dunn</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-230334</link>
		<dc:creator>Ryan Dunn</dc:creator>
		<pubDate>Thu, 15 Jan 2009 16:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-230334</guid>
		<description>I found that Action Script 3 doesn&#039;t support the --Delegate.create(this, this.handleAlert)-- section of your code. 

Ryan</description>
		<content:encoded><![CDATA[<p>I found that Action Script 3 doesn&#8217;t support the &#8211;Delegate.create(this, this.handleAlert)&#8211; section of your code. </p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Dunn</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-256662</link>
		<dc:creator>Ryan Dunn</dc:creator>
		<pubDate>Thu, 15 Jan 2009 16:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-256662</guid>
		<description>I found that Action Script 3 doesn&#039;t support the --Delegate.create(this, this.handleAlert)-- section of your code. 

Ryan</description>
		<content:encoded><![CDATA[<p>I found that Action Script 3 doesn&#8217;t support the &#8211;Delegate.create(this, this.handleAlert)&#8211; section of your code. </p>
<p>Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shiju</title>
		<link>http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/comment-page-1/#comment-224340</link>
		<dc:creator>shiju</dc:creator>
		<pubDate>Wed, 03 Dec 2008 14:24:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/alert-alert-listen-to-the-buttons/#comment-224340</guid>
		<description>simple but usefull</description>
		<content:encoded><![CDATA[<p>simple but usefull</p>
]]></content:encoded>
	</item>
</channel>
</rss>

