<?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>Stehil</title>
	<atom:link href="http://stehil.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://stehil.com</link>
	<description>Flash &#124; Flex &#124; Air &#124; iPhone &#124; Android &#124; PHP &#124; Java &#124; HTML5 &#124; Silverlight</description>
	<lastBuildDate>Tue, 10 Jan 2012 11:03:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>developer.apple.com runs on&#8230; PHP?</title>
		<link>http://stehil.com/2012/01/developer-apple-com-runs-on-php/</link>
		<comments>http://stehil.com/2012/01/developer-apple-com-runs-on-php/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 11:03:18 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=101</guid>
		<description><![CDATA[I thought Apple was luvin&#8217; it&#8217;s own bread, I mean, WebObjects&#8230; but seems like that&#8217;s not the case: http://developer.apple.com/enroll/selectEnrollmentType.php?t=cm Not quite as shocking as seeing .asp there would be, but still I cannot help but wonder what&#8217;s happening behind those closed doors?]]></description>
			<content:encoded><![CDATA[<p>I thought Apple was luvin&#8217; it&#8217;s own bread, I mean, WebObjects&#8230; but seems like that&#8217;s not the case:</p>
<p>http://developer.apple.com/enroll/selectEnrollmentType.php?t=cm</p>
<p>Not quite as shocking as seeing .asp there would be, but still I cannot help but wonder what&#8217;s happening behind those closed doors?</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2012/01/developer-apple-com-runs-on-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>copylocale and Windows 7</title>
		<link>http://stehil.com/2010/12/copylocale-and-windows-7/</link>
		<comments>http://stehil.com/2010/12/copylocale-and-windows-7/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 06:49:49 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[How-tos and Tutorials]]></category>
		<category><![CDATA[Adobe]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=98</guid>
		<description><![CDATA[Copylocale runs like magic and tells you that it has copied everything just fine. Great. But the files are not there. Ah, you&#8217;re running W7, an extremely secure system. Duh, you have to enable admin mode on your command prompt before you run evil stuff like copylocale.]]></description>
			<content:encoded><![CDATA[<p>Copylocale runs like magic and tells you that it has copied everything just fine. Great. But the files are not there. Ah, you&#8217;re running W7, an extremely secure system. Duh, you have to enable admin mode on your command prompt before you run evil stuff like copylocale.</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/12/copylocale-and-windows-7/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Apache Archiva 401 error</title>
		<link>http://stehil.com/2010/12/apache-archiva-401-error/</link>
		<comments>http://stehil.com/2010/12/apache-archiva-401-error/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 06:42:19 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=96</guid>
		<description><![CDATA[So, your Maven settings.xml is perfect (you&#8217;ve checked like six times that the user/pass/serverId is right) but you are still getting a 401 error trying to do mvn deploy:deploy-file? Well, once upon a time, there was this particular Archiva repository that required that I change a password for my user &#8211; it wouldn&#8217;t let me <a href="http://stehil.com/2010/12/apache-archiva-401-error/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>So, your Maven settings.xml is perfect (you&#8217;ve checked like six times that the user/pass/serverId is right) but you are still getting a 401 error trying to do mvn deploy:deploy-file?<br />
Well, once upon a time, there was this particular Archiva repository that required that I change a password for my user &#8211; it wouldn&#8217;t let me upload without changing it.<br />
Why so strict, Archiva?</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/12/apache-archiva-401-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Chrome with Flash Player debugger</title>
		<link>http://stehil.com/2010/10/setting-up-chrome-with-flash-player-debugger/</link>
		<comments>http://stehil.com/2010/10/setting-up-chrome-with-flash-player-debugger/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 00:36:39 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=87</guid>
		<description><![CDATA[Adobe has this covered in two KB&#8217;s, but they might be bit hard to find: 1. Installation 2. How to sort out this popup: &#8220;The following plug-in is unresponsive: Shockwave Flash&#8221; No. 2 is a deja-vu of a similar issue in Firefox, the solution there is different though.]]></description>
			<content:encoded><![CDATA[<p>Adobe has this covered in two KB&#8217;s, but they might be bit hard to find:<br />
<a href="http://kb2.adobe.com/cps/839/cpsid_83950.html">1. Installation</a><br />
<a href="http://kb2.adobe.com/cps/831/cpsid_83111.html">2. How to sort out this popup: &#8220;The following plug-in is unresponsive: Shockwave Flash&#8221;</a></p>
<p>No. 2 is a deja-vu of a similar issue in Firefox, the <a href="http://support.mozilla.com/en-US/kb/The+Adobe+Flash+plugin+has+crashed#Disable_hang_protection">solution there is different though</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/10/setting-up-chrome-with-flash-player-debugger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pain with ArrayCollection addItemAt</title>
		<link>http://stehil.com/2010/06/pain-with-arraycollection-additemat/</link>
		<comments>http://stehil.com/2010/06/pain-with-arraycollection-additemat/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:50:06 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[How-tos and Tutorials]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=84</guid>
		<description><![CDATA[ArrayCollection has some nifty functionality, but it isn't always a smooth sailing.]]></description>
			<content:encoded><![CDATA[<p>ArrayCollection has some nifty functionality, but it isn&#8217;t always a smooth sailing.</p>
<p><strong>Gotcha 1:</strong> addItemAt doesn&#8217;t work if the ArrayCollection is sorted. Well, it does make sense, but there are situations when we could take advantage of the fact that sorting doesn&#8217;t happen before a refresh() call. Anyway, something that IMHO should be mentioned in the docs rather than only in ListCollectionView source: &#8220;if we&#8217;re sorted addItemAt is meaningless, just add to the end&#8221;.</p>
<p><strong>Gotcha 2:</strong> Well, say, that we insist of using our collection, and so we try to remove the sorting to be able to do a meaningfull addItemAt. We set ac.sort=null; but instead of a great success, things explode on addItemAt. Well, the internal logic of ListCollectionView requires you to do a ac.refresh() after setting sort to null; if you don&#8217;t do that, it&#8217;s internal vars are out of whack and null references creep in. IMHO ArrayCollection should be smart enough to handle removal of sort without a subsequent refresh call.</p>
<p><strong>Gotcha 3:</strong> Well, we call the ac.refresh() after setting ac.sort=null but now our item order is all screwed up. Epic phail. So, let&#8217;s just give up and copy the collection instead, shall we?</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> ac1<span style="color: #000066; font-weight: bold;">:</span>ArrayCollection = <span style="color: #0033ff; font-weight: bold;">new</span> ArrayCollection<span style="color: #000000;">&#40;</span>ac0<span style="color: #000066; font-weight: bold;">.</span>toArray<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/06/pain-with-arraycollection-additemat/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple example &#8211; Flash (AS3) and FormMail.cgi</title>
		<link>http://stehil.com/2010/05/simple-example-flash-as3-and-formmail-cgi/</link>
		<comments>http://stehil.com/2010/05/simple-example-flash-as3-and-formmail-cgi/#comments</comments>
		<pubDate>Sat, 29 May 2010 02:03:37 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[How-tos and Tutorials]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=79</guid>
		<description><![CDATA[Simple Tutorial on how to use Flash ActionScript 3 with a FormMail.cgi script.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just created a little sample for a friend. He is a designer and &#8220;just needed something&#8221; that would allow him to capture the data that users enter. FormMail.cgi fits the bill &#8211; no need to touch any server files or databases, just point your Flash to a FormMail script that is already installed on your server and off you go &#8211; you are sending emails from Flash. It feels bit 90-ies, but it works.</p>
<p>What will you need:</p>
<ol>
<li>Flash CS3 or newer (download free 30 days trial from Adobe)</li>
<li>URL to FormMail.cgi. Many hosting providers have installed FormMail.cgi for you &#8211; you will definitely have it if you have cPanel, look under Scripts to find the right path to yours. Otherwise ask your hosting provider or pinch somebody else&#8217;s FormMail (not recommended <img src='http://stehil.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ).</li>
</ol>
<p>Here are instructions that any Flash designer should be able to follow:</p>
<ol>
<li>Create a AS3 Flash document.</li>
<li>Create your text inputs. My code is using 3 Text Inputs named: messageTI, nameTI, emailTI. You can create more, or rename them, but then you will have to add/modify the code a little bit.</li>
<li>Create a button and name it sendB</li>
<li>Create a dynamic text and name it statusTF</li>
<li>Create an Actions layer and in the first frame put the following code, than modify the FormMail URL and recipient&#8217;s email:</li>
</ol>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.profiler</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">showRedrawRegions</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><a href="http://www.google.com/search?q=urlrequestmethod%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequestmethod.html"><span style="color: #004993;">URLRequestMethod</span></a><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
sendB<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CLICK</span><span style="color: #000066; font-weight: bold;">,</span> sendData<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #339966; font-weight: bold;">function</span> sendData<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=mouseevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:mouseevent.html"><span style="color: #004993;">MouseEvent</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span>messageTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">length</span> <span style="color: #000066; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight:bold;">3</span> <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> nameTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">length</span> <span style="color: #000066; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight:bold;">3</span> <span style="color: #000066; font-weight: bold;">&amp;&amp;</span> emailTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">indexOf</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;@&quot;</span><span style="color: #000000;">&#41;</span> <span style="color: #000066; font-weight: bold;">&gt;</span> <span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">1</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span> <span style="color: #009900; font-style: italic;">//very, very basic data validation (as this is not a data validation tutorial)</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> r<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://YOUR-URL-TO-FORM-MAIL/FormMail.cgi&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//modify this URL</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> v<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlvariables%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlvariables.html"><span style="color: #004993;">URLVariables</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlvariables%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlvariables.html"><span style="color: #004993;">URLVariables</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; v<span style="color: #000066; font-weight: bold;">.</span>recipient = <span style="color: #990000;">&quot;YOUR-EMAIL@DOMAIN.com&quot;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//put your email here</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; v<span style="color: #000066; font-weight: bold;">.</span>subject = <span style="color: #990000;">&quot;My FormMail test&quot;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//this will be the subject of the email</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; v<span style="color: #000066; font-weight: bold;">.</span>email = emailTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; v<span style="color: #000066; font-weight: bold;">.</span>realname = nameTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//user's name will be appended to his/hers email to form a From field of the email.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; v<span style="color: #000066; font-weight: bold;">.</span>theMessage = messageTI<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//theMessage is a custom key. If you need more Input fields, just make up more custom fields like this one</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; r<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span> = v<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; r<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">method</span> = <a href="http://www.google.com/search?q=urlrequestmethod%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequestmethod.html"><span style="color: #004993;">URLRequestMethod</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">POST</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> completeHandler<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0033ff; font-weight: bold;">try</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>r<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">catch</span> <span style="color: #000000;">&#40;</span><span style="color: #004993;">error</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=error%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:error.html"><span style="color: #004993;">Error</span></a><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; statusTF<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Unable to send data.&quot;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">//we could definitely do more in terms of error handling, however this is not a error handling tutorial</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span> <span style="color: #0033ff; font-weight: bold;">else</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; statusTF<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Please enter all required information.&quot;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#125;</span><br />
<br />
<span style="color: #339966; font-weight: bold;">function</span> completeHandler<span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span><br />
&nbsp; &nbsp; statusTF<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">text</span> = <span style="color: #990000;">&quot;Data submitted.&quot;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a> = <a href="http://www.google.com/search?q=urlloader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlloader.html"><span style="color: #004993;">URLLoader</span></a><span style="color: #000000;">&#40;</span>event<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
&nbsp; &nbsp; <span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;completeHandler: &quot;</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>Notes:</p>
<ol>
<li>You can place your components (Button, TextInputs &amp; Dynamic Text) anywhere you like on a page, style them anyhow you like, but make sure they are in the first frame and have the correct names (case sensitive).</li>
<li>If email is getting send but you are not receiving any &#8211; check your spam folder.</li>
<li>You are too lazy to copy/paste? I hear you. <a href='http://stehil.com/wp-content/uploads/2010/05/formmail-tutorial.fla_.zip'>Here is the sample flash file.</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/05/simple-example-flash-as3-and-formmail-cgi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flex SDK bug: The first color in ColorPicker (black) cannot be selected</title>
		<link>http://stehil.com/2010/05/flex-sdk-bug-the-first-color-in-colorpicker-black-cannot-be-selected/</link>
		<comments>http://stehil.com/2010/05/flex-sdk-bug-the-first-color-in-colorpicker-black-cannot-be-selected/#comments</comments>
		<pubDate>Fri, 21 May 2010 11:27:49 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[How-tos and Tutorials]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=76</guid>
		<description><![CDATA[Ha, I found a bug in the SDK! (Well, OK, I didn&#8217;t find it, one of the testers did . Let&#8217;s be very nice; let&#8217;s put it in Adobe&#8217;s Bug System, describe it and suggest a workaround .]]></description>
			<content:encoded><![CDATA[<p>Ha, I found a bug in the SDK! (Well, OK, I didn&#8217;t find it, one of the testers did <img src='http://stehil.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> . Let&#8217;s be very nice; let&#8217;s put it in <a href="http://bugs.adobe.com/jira/browse/SDK-26504">Adobe&#8217;s Bug System, describe it and suggest a workaround</a> <img src='http://stehil.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/05/flex-sdk-bug-the-first-color-in-colorpicker-black-cannot-be-selected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dodgy Mini DisplayPort to DVI adapter</title>
		<link>http://stehil.com/2010/05/dodgy-mini-displayport-to-dvi-adapter/</link>
		<comments>http://stehil.com/2010/05/dodgy-mini-displayport-to-dvi-adapter/#comments</comments>
		<pubDate>Thu, 13 May 2010 12:46:44 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[HW]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=73</guid>
		<description><![CDATA[You get such great deals on Ebay, or do you? Like this adapter from Hong Kong for less then $10 incl. postage when a new original Apple one is $45. Well, it did work great for 3 months and then, one day, the MacBook just showed me a little disco &#8211; the display was flashing <a href="http://stehil.com/2010/05/dodgy-mini-displayport-to-dvi-adapter/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>You get such great deals on Ebay, or do you? Like this adapter from Hong Kong for less then $10 incl. postage when a new original Apple one is $45. Well, it did work great for 3 months and then, one day, the MacBook just showed me a little disco &#8211; the display was flashing in rapid succession; somehow the switch sequence to external display was failing and it kept on trying&#8230; after a while it stopped trying.  So, I dished out $45 for an original Apple adapter today and was relieved that it was indeed only an adapter issue and not a broken port on the notebook.</p>
<p>Still, I do consider $45 for this little adapter to be an epic rip off; that&#8217;s like you get 8 adapters for same money as a little netbook. Hmmmmm.</p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/05/dodgy-mini-displayport-to-dvi-adapter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADL doesn&#8217;t open the Air application</title>
		<link>http://stehil.com/2010/05/adl-doesnt-open-the-air-application/</link>
		<comments>http://stehil.com/2010/05/adl-doesnt-open-the-air-application/#comments</comments>
		<pubDate>Sun, 09 May 2010 10:08:29 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[How-tos and Tutorials]]></category>
		<category><![CDATA[Air]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=69</guid>
		<description><![CDATA[So, you are writing an Air app (or more likely just imported one from somewhere), you try to debug it and the AIR Debug Launcher (ADL) just sits in the Dock (on Mac) and doesn&#8217;t open any window, doesn&#8217;t throw an error, nothing. Well, you will want to check that you are not using a <a href="http://stehil.com/2010/05/adl-doesnt-open-the-air-application/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>So, you are writing an Air app (or more likely just imported one from somewhere), you try to debug it and the AIR Debug Launcher (ADL) just sits in the Dock (on Mac) and doesn&#8217;t open any window, doesn&#8217;t throw an error, nothing. Well, you will want to check that you are not using a Flex application class but rather the Air application class; i.e. &lt;s:WindowedApplication&gt;. Duh <img src='http://stehil.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/05/adl-doesnt-open-the-air-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codewars disaster</title>
		<link>http://stehil.com/2010/05/codewars-disaster/</link>
		<comments>http://stehil.com/2010/05/codewars-disaster/#comments</comments>
		<pubDate>Wed, 05 May 2010 17:22:03 +0000</pubDate>
		<dc:creator>Stepan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://stehil.com/?p=63</guid>
		<description><![CDATA[I've just failed my poor teammate at Webdu Codewars. So sorryyyy!]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just failed my poor teammate at <a href="http://www.webdu.com.au/session/code-wars-2010">Webdu Codewars</a>. So sorryyyy!<br />
Anyway, rather than write a million excuses, <a href="http://stehil.com/wp-content/uploads/2010/05/jobs.html">here is what it was supposed to look it like</a> after that 20 minutes of coding.</p>
<p>(The original task was to code, in 20 minutes, an &#8220;App that would make Steve Jobs relax&#8221; or something along those lines).</p>
<p><em>Please note that the link above is rated QR. It contains some violence and silly jokes and is not really recommended for any audiences.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://stehil.com/2010/05/codewars-disaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

