<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dirty Motherfucking Blog &#187; messagebox</title>
	<atom:link href="http://dirty-motherfucker.org/blog/tag/messagebox/feed/" rel="self" type="application/rss+xml" />
	<link>http://dirty-motherfucker.org/blog</link>
	<description>All kinds of shit</description>
	<lastBuildDate>Wed, 04 Jan 2012 15:38:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19620</generator>
		<item>
		<title>MessageBox Class for AsWing</title>
		<link>http://dirty-motherfucker.org/blog/2008/02/01/messagebox-class-for-aswing/</link>
		<comments>http://dirty-motherfucker.org/blog/2008/02/01/messagebox-class-for-aswing/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 17:14:25 +0000</pubDate>
		<dc:creator>gencha</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[aswing]]></category>
		<category><![CDATA[messagebox]]></category>

		<guid isPermaLink="false">http://dirty-motherfucker.org/blog/2008/02/01/messagebox-class-for-aswing/</guid>
		<description><![CDATA[I lately commited a new class to the AsWing Kit SVN. It enables you to display simple message boxes in AsWing based ActionScript applications. The class was modeled after the Windows API function MessageBox(). The repository can be accessed through http://svn.aswing.org/aswingkit]]></description>
			<content:encoded><![CDATA[<p>I lately commited a new class to the AsWing Kit SVN.</p>
<p>It enables you to display simple message boxes in AsWing based ActionScript applications.<br />
The class was modeled after  the Windows API function MessageBox().</p>
<p><a href="http://dirty-motherfucker.org/blog/wp-content/uploads/2008/02/aswing_messagebox.png" title="AsWing MessageBox"><img src="http://dirty-motherfucker.org/blog/wp-content/uploads/2008/02/aswing_messagebox.thumbnail.png" alt="AsWing MessageBox" /></a></p>
<p>The repository can be accessed through <a href="http://svn.aswing.org/aswingkit" class="linkification-ext" title="Linkification: http://svn.aswing.org/aswingkit">http://svn.aswing.org/aswingkit</a></p>
<pre class="brush: as3; title: ; notranslate">
/**
* Opens the global MessageBox instance with the supplied parameters set.
* When the MessageBox is closed it will call the closeHandler function.
* If the user added a Help button to the box and it is clicked, the helpHandler function will be called. Clicking the help button doesn't close the MessageBox.
* Example: &amp;lt;code&amp;gt;MessageBox.showDialog( null, &quot;An error has occured.&quot;, &quot;Error&quot;, MessageBox.ICON_ERROR | MessageBox.ABORT_RETRY_IGNORE | MessageBox.HELP, function( button:String ):void { trace( button ); } );&amp;lt;/code&amp;gt;
* @param    owner The owner for the JFrame instance. This can be left as null.
* @param    text The text to be displayed in the MessageBox.
* @param    caption The caption of the MessageBox. Default is &quot;Error&quot;.
* @param    type A combination of flags that describe the type of MessageBox.
* This can be a combination of a button flag (plus optional help button), an icon flag and text orientation. Optionally the text can be made selectable.
* The default value is: &amp;lt;code&amp;gt;OK_ONLY | ICON_NONE | TEXT_ORIENTATION_LEFT | STATIC_TEXT&amp;lt;/code&amp;gt;
* @param    closeHandler This function will be called when the MessageBox is closed. It sends one parameter which is one of the button flags.
* Possible flags are: &amp;lt;code&amp;gt;ABORT, CANCEL, CONTINUE, IGNORE, NO, OK, RETRY, TRY_AGAIN, YES&amp;lt;/code&amp;gt;
* @param    helpHandler This function will be called when the user clicks the help button.
*/
public static function showDialog( owner:* = null, text:String = &quot;&quot;, caption:String = &quot;Error&quot;, type:uint = 0, closeHandler:Function = null, helpHandler:Function = null ):void {
</pre>
]]></content:encoded>
			<wfw:commentRss>http://dirty-motherfucker.org/blog/2008/02/01/messagebox-class-for-aswing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

