<?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>Mike Orth - Booya!</title>
	<atom:link href="http://mikeorth.com/feed" rel="self" type="application/rss+xml" />
	<link>http://mikeorth.com</link>
	<description>Flex, Actionscript</description>
	<lastBuildDate>Thu, 29 Mar 2012 20:13:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disable Drag for Certain Items in List</title>
		<link>http://mikeorth.com/2012/disable-drag-for-certain-items-in-list</link>
		<comments>http://mikeorth.com/2012/disable-drag-for-certain-items-in-list#comments</comments>
		<pubDate>Thu, 29 Mar 2012 20:13:16 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Drag]]></category>
		<category><![CDATA[List]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=80</guid>
		<description><![CDATA[Drag and drop is easy in Flex when you have basic requirements.  Just setup a list with dragEnabled=&#8221;true&#8221; and you&#8217;re up and running.  However, what if you need to disable dragging for only a select few items in your list?  For example, if you have a list of users and you can [...]]]></description>
			<content:encoded><![CDATA[<p>Drag and drop is easy in Flex when you have basic requirements.  Just setup a list with dragEnabled=&#8221;true&#8221; and you&#8217;re up and running.  However, what if you need to disable dragging for only a select few items in your list?  For example, if you have a list of users and you can only drag a user with a specific role, such as an admin.</p>
<p>The answer is pretty simple, create a custom ItemRenderer and stop the mouseDown event from propagating.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;s:ItemRenderer mouseDown=&quot;onMouseDown(event)&quot; <br />
....<br />
private function onMouseDown(event:MouseEvent):void {<br />
&nbsp; &nbsp; &nbsp;if (someCondition == true)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; event.stopImmediatePropagation();<br />
}</div></div>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2012/disable-drag-for-certain-items-in-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spark Label Tooltip</title>
		<link>http://mikeorth.com/2012/spark-label-tooltip</link>
		<comments>http://mikeorth.com/2012/spark-label-tooltip#comments</comments>
		<pubDate>Wed, 07 Mar 2012 14:09:56 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Label]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[quicktips]]></category>
		<category><![CDATA[toolTip]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=76</guid>
		<description><![CDATA[While it&#8217;s still default for a Label to truncate and show ellipses if the text is too long, it&#8217;s no longer default to show a tooltip (as it was in mx).  Easy fix for this is the aptly named property:
&#60;s:Label showTruncationTip=&#34;true&#34;
...
]]></description>
			<content:encoded><![CDATA[<p>While it&#8217;s still default for a Label to truncate and show ellipses if the text is too long, it&#8217;s no longer default to show a tooltip (as it was in mx).  Easy fix for this is the aptly named property:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;s:Label showTruncationTip=&quot;true&quot;<br />
...</div></div>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2012/spark-label-tooltip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded Fonts with Tooltip and Alert in Flex 4</title>
		<link>http://mikeorth.com/2012/embedded-fonts-with-tooltip-and-alert-in-flex-4</link>
		<comments>http://mikeorth.com/2012/embedded-fonts-with-tooltip-and-alert-in-flex-4#comments</comments>
		<pubDate>Thu, 01 Mar 2012 14:13:01 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=73</guid>
		<description><![CDATA[If you&#8217;ve embedded a font in a Spark application, you may have noticed that your Alerts and Tooltips are now empty.  This is due to the Device 4 font embedding in Flex 4 for Spark components.  So any mx controls will not be able to read those fonts.  There&#8217;s an easy fix [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve embedded a font in a Spark application, you may have noticed that your Alerts and Tooltips are now empty.  This is due to the Device 4 font embedding in Flex 4 for Spark components.  So any mx controls will not be able to read those fonts.  There&#8217;s an easy fix for this in css without having to specify a different fontFamily for those controls:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mx|global<br />
{<br />
&nbsp; &nbsp; textFieldClass: ClassReference(&quot;mx.core.UIFTETextField&quot;);<br />
}</div></div>
<p>Boom.  Problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2012/embedded-fonts-with-tooltip-and-alert-in-flex-4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[RemoteClass] must specify alias</title>
		<link>http://mikeorth.com/2011/remoteclass-must-specify-alias</link>
		<comments>http://mikeorth.com/2011/remoteclass-must-specify-alias#comments</comments>
		<pubDate>Thu, 22 Dec 2011 15:08:23 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=69</guid>
		<description><![CDATA[Most metadata tags in Flex have default property values.  For example, the following are equivalent:
[Embed(source=&#34;/path/img.png&#34;)]
[Embed(&#34;/path/img.png&#34;)]
However, when using RemoteClass, even though it only has 1 possible parameter (&#8221;alias&#8221;), it still requires that you specify the property name as follows:
// Correct:
[RemoteClass(alias=&#34;com.myDTO&#34;)]

// NOT correct:
[RemoteClass(&#34;com.myDTO&#34;)]
]]></description>
			<content:encoded><![CDATA[<p>Most metadata tags in Flex have default property values.  For example, the following are equivalent:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">[Embed(source=&quot;/path/img.png&quot;)]<br />
[Embed(&quot;/path/img.png&quot;)]</div></div>
<p>However, when using RemoteClass, even though it only has 1 possible parameter (&#8221;alias&#8221;), it still requires that you specify the property name as follows:</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">// Correct:<br />
[RemoteClass(alias=&quot;com.myDTO&quot;)]<br />
<br />
// NOT correct:<br />
[RemoteClass(&quot;com.myDTO&quot;)]</div></div>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2011/remoteclass-must-specify-alias/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monster Debugger</title>
		<link>http://mikeorth.com/2011/monster-debugger</link>
		<comments>http://mikeorth.com/2011/monster-debugger#comments</comments>
		<pubDate>Thu, 25 Aug 2011 14:52:18 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[debug]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=62</guid>
		<description><![CDATA[This is a fantastic external debugger for Flex/Flash applications.  The primary thing I love is being able to change properties at run time, and being able to execute methods.
Grab it here, it&#8217;s free: Monster Debugger
]]></description>
			<content:encoded><![CDATA[<p>This is a fantastic external debugger for Flex/Flash applications.  The primary thing I love is being able to change properties at run time, and being able to execute methods.</p>
<p>Grab it here, it&#8217;s free: <a href="http://demonsterdebugger.com/">Monster Debugger</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2011/monster-debugger/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slider Increment &#8211; snapInterval</title>
		<link>http://mikeorth.com/2010/slider-increment-snapinterval</link>
		<comments>http://mikeorth.com/2010/slider-increment-snapinterval#comments</comments>
		<pubDate>Fri, 06 Aug 2010 15:03:43 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[quicktips]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=55</guid>
		<description><![CDATA[For future reference, trying to remember what the property name was for the interval or step size for a slider.  The property is named &#8220;snapInterval&#8221;
]]></description>
			<content:encoded><![CDATA[<p>For future reference, trying to remember what the property name was for the interval or step size for a slider.  The property is named &#8220;snapInterval&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2010/slider-increment-snapinterval/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Targeting the Right Component for Transitions</title>
		<link>http://mikeorth.com/2010/targeting-the-right-component-for-transitions</link>
		<comments>http://mikeorth.com/2010/targeting-the-right-component-for-transitions#comments</comments>
		<pubDate>Thu, 15 Jul 2010 19:43:27 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual]]></category>
		<category><![CDATA[effects]]></category>
		<category><![CDATA[states]]></category>
		<category><![CDATA[transitions]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=37</guid>
		<description><![CDATA[When doing any state transitions, you have to be sure to specify the intended target.  For instance, recently I was debugging some client code to see why a fade wasn&#8217;t working.  It turned out that the target was set to the parent group instead of each specific component.
&#160; &#160; &#60;s:transitions&#62;
&#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>When doing any state transitions, you have to be sure to specify the intended target.  For instance, recently I was debugging some client code to see why a fade wasn&#8217;t working.  It turned out that the target was set to the parent group instead of each specific component.</p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:transitions</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Transition</span> fromState=<span style="color: #ff0000;">&quot;*&quot;</span> toState=<span style="color: #ff0000;">&quot;*&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
<br />
<span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!--&nbsp; &nbsp; INCORRECT way of doing it: </span><br />
<span style="color: #000000;"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Don't target the parent container--&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Fade</span> target=<span style="color: #ff0000;">&quot;{[content]}&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #808080; font-style: italic;">&lt;!--CORRECT: target each specific component--&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Fade</span> targets=<span style="color: #ff0000;">&quot;{[pageOne, pageTwo]}&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Transition</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:transitions</span><span style="color: #7400FF;">&gt;</span></span><br />
<br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Group</span> id=<span style="color: #ff0000;">&quot;content&quot;</span><span style="color: #7400FF;">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;"><span style="color: #7400FF;">&lt;local:PageOne</span> id=<span style="color: #ff0000;">&quot;pageOne&quot;</span> includeIn=<span style="color: #ff0000;">&quot;one&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #000000;"><span style="color: #7400FF;">&lt;local:PageTwo</span> id=<span style="color: #ff0000;">&quot;pageTwo&quot;</span> includeIn=<span style="color: #ff0000;">&quot;two&quot;</span><span style="color: #7400FF;">/&gt;</span></span><br />
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Group</span><span style="color: #7400FF;">&gt;</span></span></div></div>
<p>In this case, you need to target <b>pageOne</b> and <b>pageTwo</b>, NOT <b>content</b>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2010/targeting-the-right-component-for-transitions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex Formatter</title>
		<link>http://mikeorth.com/2010/flex-formatter</link>
		<comments>http://mikeorth.com/2010/flex-formatter#comments</comments>
		<pubDate>Thu, 08 Jul 2010 21:00:25 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=35</guid>
		<description><![CDATA[After moving from projects that religiously used FlexFormatter to one that didn&#8217;t, I realized just how nice this plugin is.  If by chance you haven&#8217;t heard of it, FlexFormatter is an eclipse plugin that will format spaces, tabs, declarations, reorder properties &#038; functions, indent, and lots more.
To install, use the update site http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite.
]]></description>
			<content:encoded><![CDATA[<p>After moving from projects that religiously used FlexFormatter to one that didn&#8217;t, I realized just how nice this plugin is.  If by chance you haven&#8217;t heard of it, FlexFormatter is an eclipse plugin that will format spaces, tabs, declarations, reorder properties &#038; functions, indent, and lots more.</p>
<p>To install, use the update site http://flexformatter.googlecode.com/svn/trunk/FlexFormatter/FlexPrettyPrintCommandUpdateSite.</p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2010/flex-formatter/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MikeOrthLib updated</title>
		<link>http://mikeorth.com/2010/mikeorthlib-updated</link>
		<comments>http://mikeorth.com/2010/mikeorthlib-updated#comments</comments>
		<pubDate>Wed, 07 Jul 2010 21:55:00 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=33</guid>
		<description><![CDATA[I added a lot of new custom Flex components to my library, MikeOrthLib.  It includes a PagedDataGrid control, some handy popup base classes, and other utility components.

Check out the example application (work in progress).
Visit the project home page.
]]></description>
			<content:encoded><![CDATA[<p>I added a lot of new custom Flex components to my library, <a href="http://code.google.com/p/mikeorthlib/">MikeOrthLib</a>.  It includes a PagedDataGrid control, some handy popup base classes, and other utility components.</p>
<p><a href="http://mikeorth.com/demos/mikeorthlib/Samples.html"><br />
Check out the example application</a> (work in progress).</p>
<p><a href="http://code.google.com/p/mikeorthlib/">Visit the project home page.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2010/mikeorthlib-updated/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Increase Memory in Flash Builder / Eclipse for Mac OS</title>
		<link>http://mikeorth.com/2010/28</link>
		<comments>http://mikeorth.com/2010/28#comments</comments>
		<pubDate>Fri, 07 May 2010 16:15:39 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[flash builder]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[quicktips]]></category>

		<guid isPermaLink="false">http://mikeorth.com/?p=28</guid>
		<description><![CDATA[If you ever get the eclipse &#8220;Out of Memory&#8221; error, then you need to increase the default memory size.  It&#8217;s relatively easy, but you have to know where to look.
In your eclipse install folder, right click on the Eclipse launcher and choose &#8220;Show Package Contents&#8221;.  Then navigate to Contents/MacOS and open eclipse.ini.  [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever get the eclipse &#8220;Out of Memory&#8221; error, then you need to increase the default memory size.  It&#8217;s relatively easy, but you have to know where to look.</p>
<p>In your eclipse install folder, right click on the Eclipse launcher and choose &#8220;Show Package Contents&#8221;.  Then navigate to Contents/MacOS and open eclipse.ini.  Change the min &#038; max values to:</p>
<p>-Xms128m<br />
-Xmx512m</p>
]]></content:encoded>
			<wfw:commentRss>http://mikeorth.com/2010/28/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Google Tracking Code</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
</head>

<body>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4604733-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>  
</body>
</html>

