<?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>flexNinja</title>
	<atom:link href="http://flexninja.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://flexninja.com</link>
	<description>I&#039;m a vet, I&#039;m a pro...hell, I&#039;ve been here 8 months</description>
	<lastBuildDate>Tue, 26 Jan 2010 03:15:46 +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>Flex4 broke fully-qualified identifiers</title>
		<link>http://flexninja.com/?p=48</link>
		<comments>http://flexninja.com/?p=48#comments</comments>
		<pubDate>Tue, 26 Jan 2010 03:15:46 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=48</guid>
		<description><![CDATA[If you&#8217;ve ever had to use two different objects of the same name (Spark Button and Halo Button) in the same class, you&#8217;ve done something like this&#8230;
var b:Button = new mx.controls.Button();
In FlexBuilder, doing this would add the import at the top of your class and life would be good.  In FlashBuilder, the &#8220;remove unused [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had to use two different objects of the same name (Spark Button and Halo Button) in the same class, you&#8217;ve done something like this&#8230;</p>
<p>var b:Button = new mx.controls.Button();</p>
<p>In FlexBuilder, doing this would add the import at the top of your class and life would be good.  In FlashBuilder, the &#8220;remove unused imports&#8221; feature will strip this import out the next time you make a change and save it.  It&#8217;s driving me nuts- I love the import cleanup feature, but hate having to re-add my import every time.  The alternative is to simply disable the cleanup.</p>
<p>I&#8217;ve created a <a href="http://bugs.adobe.com/jira/browse/FB-23401">Jira</a> for it, but they changed its status to &#8220;community&#8221;, meaning it needs votes.  If you use this feature, please vote now so we can hopefully get this fixed before Flex4 ships.</p>
<p>Click this <font size="6"><a href="http://bugs.adobe.com/jira/browse/FB-23401">obnoxiously big link</a></font> to see the Jira.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Whoever wrote mx.core.Container is awesome</title>
		<link>http://flexninja.com/?p=41</link>
		<comments>http://flexninja.com/?p=41#comments</comments>
		<pubDate>Thu, 14 Jan 2010 16:32:17 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=41</guid>
		<description><![CDATA[Found this comment inside Container.as while working on a custom component:
Although at the level of a Flash DisplayObjectContainer, all
children are equal, in a Flex Container some children are &#8220;more
equal than others&#8221;. (George Orwell, &#8220;Animal Farm&#8221;)
Awesome
]]></description>
			<content:encoded><![CDATA[<p>Found this comment inside Container.as while working on a custom component:</p>
<blockquote><p>Although at the level of a Flash DisplayObjectContainer, all<br />
children are equal, in a Flex Container some children are &#8220;more<br />
equal than others&#8221;. (George Orwell, &#8220;Animal Farm&#8221;)</p></blockquote>
<p>Awesome</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=41</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>(Finally) A workaround for tab text shift</title>
		<link>http://flexninja.com/?p=34</link>
		<comments>http://flexninja.com/?p=34#comments</comments>
		<pubDate>Tue, 29 Dec 2009 18:33:16 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=34</guid>
		<description><![CDATA[When a tab is selected in a flex TabBar or TabNavigator, the text shifts down a single pixel.  Because of the way I have my app skinned, this downward shift looks horrible.  I spent the last month posting pleas for help on FlexCoders and Adobe&#8217;s forums, stepping line-by-line through the Flex SDK, and [...]]]></description>
			<content:encoded><![CDATA[<p>When a tab is selected in a flex TabBar or TabNavigator, the text shifts down a single pixel.  Because of the way I have my app skinned, this downward shift looks horrible.  I spent the last month posting pleas for help on FlexCoders and Adobe&#8217;s forums, stepping line-by-line through the Flex SDK, and reading all of the default Flex CSS.  I still haven&#8217;t been able to find the culprit, but I did hack together a fix to negate the change.</p>
<p>When the tab is selected, I have it shift its label up 1px (negating the downward shift), and when it&#8217;s unselected, it shifts back.  For some reason I was only able to do this via actionscript- setting these properties as CSS styles did nothing.  Since I&#8217;m already using a butchered copy of FlexLib, it was easy to hack this into the SuperTab&#8217;s set selected(&#8230;) function:</p>

<object	type="application/x-shockwave-flash"
			data="http://flexninja.com/examples/tabOffset/TabExample.swf"
			width="250"
			height="160">
	<param name="movie" value="http://flexninja.com/examples/tabOffset/TabExample.swf" />
</object>
<p>The example is view-source enabled, though it&#8217;s pretty messy.</p>
<p>If anyone knows a better fix to this problem I&#8217;d love to hear it.  Insane bonus points if you can find the line of code/css in the FlexSDK that&#8217;s causing the shift.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=34</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Plugins FlexBuilder needs</title>
		<link>http://flexninja.com/?p=21</link>
		<comments>http://flexninja.com/?p=21#comments</comments>
		<pubDate>Thu, 08 Oct 2009 22:16:27 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=21</guid>
		<description><![CDATA[boolean inverter
Select a block of code, hit a keystroke or a button, and every true/false is inverted.

Inline Errors/Warnings/Exceptions
I would love to be able to hide my Problems view and simply see in-line problems.  Sure, the Problems view would still be useful for tracking down problems in different files, but 95% of the time, this [...]]]></description>
			<content:encoded><![CDATA[<p><strong>boolean inverter</strong></p>
<p>Select a block of code, hit a keystroke or a button, and every true/false is inverted.</p>
<p><img src='images/inverter.png' alt='inverter' class='alignnone' /></p>
<p><strong>Inline Errors/Warnings/Exceptions</strong></p>
<p>I would love to be able to hide my Problems view and simply see in-line problems.  Sure, the Problems view would still be useful for tracking down problems in different files, but 95% of the time, this is what I want.</p>
<p><img src='images/inline.png' alt='xcode inline problems' class='alignnone' /></p>
<p><strong>Unified Sidebar</strong></p>
<p>I hate to keep loving on Xcode, but I&#8217;m a fan of their unified sidebar.  Instead of Eclipse&#8217;s approach of making a different view for every possibility, Xcode, slaps them all in the sidebar, basically mimicking the functionality of most desktop mail clients.  It&#8217;s much cleaner than Eclipse, and you don&#8217;t have to constantly bounce around between perspectives.</p>
<p><a href="images/threePaneView.png"><img src='images/threePaneView_thumb.png' alt='xcode inline problems' class='alignnone' /></a></p>
<p>I realize the irony of a developer complaining about missing features in an open source project that has plugin functionality, but good god it&#8217;s hard to write plugins for Eclipse.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=21</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Good God Adobe, please fix file uploading</title>
		<link>http://flexninja.com/?p=23</link>
		<comments>http://flexninja.com/?p=23#comments</comments>
		<pubDate>Thu, 27 Aug 2009 20:09:14 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=23</guid>
		<description><![CDATA[Here are some Jira&#8217;s for reference: FP-226,FP-78.
In a nutshell, file uploads in Firefox use a different session than the rest of the page/Flash/Flex.
It&#8217;s a Flash bug, so the community is powerless to submit their own fixes.  The known workaround requires some nasty hacking on both sides of the transfer.  Silverlight handles file uploads [...]]]></description>
			<content:encoded><![CDATA[<p>Here are some Jira&#8217;s for reference: <a href="http://bugs.adobe.com/jira/browse/FP-226">FP-226</a>,<a href="http://bugs.adobe.com/jira/browse/FP-78">FP-78</a>.</p>
<p>In a nutshell, file uploads in Firefox use a different session than the rest of the page/Flash/Flex.</p>
<p>It&#8217;s a Flash bug, so the community is powerless to submit their own fixes.  The <a href="http://tech.groups.yahoo.com/group/flexcoders/message/115315">known workaround</a> requires some nasty hacking on both sides of the transfer.  Silverlight handles file uploads on all browsers fine, so it is possible.</p>
<p>If anyone reading this has been affected by the bug, please vote on the issues: <a href="http://bugs.adobe.com/jira/browse/FP-226">FP-226</a>,<a href="http://bugs.adobe.com/jira/browse/FP-78">FP-78</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=23</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MAC Address Input Component</title>
		<link>http://flexninja.com/?p=20</link>
		<comments>http://flexninja.com/?p=20#comments</comments>
		<pubDate>Wed, 25 Feb 2009 19:44:52 +0000</pubDate>
		<dc:creator>Dennis Falling</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=20</guid>
		<description><![CDATA[Apparently I&#8217;m the only person who frequently works with MAC Addresses in Flex, because I couldn&#8217;t find an existing component for them.  Here&#8217;s one I rolled recently because you people wouldn&#8217;t do it for me. (jerks)

<object	type="application/x-shockwave-flash"
			data="http://flexninja.com/examples/MacInput/MacInput.swf"
			width="450"
			height="175">
	<param name="movie" value="http://flexninja.com/examples/MacInput/MacInput.swf" />
</object>

To all the people who understand component development better than me, how would you support different [...]]]></description>
			<content:encoded><![CDATA[<p>Apparently I&#8217;m the only person who frequently works with MAC Addresses in Flex, because I couldn&#8217;t find an existing component for them.  Here&#8217;s one I rolled recently because you people wouldn&#8217;t do it for me. (jerks)</p>

<object	type="application/x-shockwave-flash"
			data="http://flexninja.com/examples/MacInput/MacInput.swf"
			width="450"
			height="175">
	<param name="movie" value="http://flexninja.com/examples/MacInput/MacInput.swf" />
</object>
<p><br/></p>
<p>To all the people who understand component development better than me, how would you support different fonts and font sizes?  The difficulty is this component is a series of TextInput&#8217;s, each manually sized to fit two characters.  How would you size these individual inputs to scale properly?</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>FocusView Component</title>
		<link>http://flexninja.com/?p=19</link>
		<comments>http://flexninja.com/?p=19#comments</comments>
		<pubDate>Tue, 30 Dec 2008 15:50:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=19</guid>
		<description><![CDATA[One of the more complex pages of the app I work on was getting too large to fit on one page, so my team took on writing a custom component.  We wanted to be able to split the data up to de-clutter the view, while still allowing quick access to different sections and the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the more complex pages of the app I work on was getting too large to fit on one page, so my team took on writing a custom component.  We wanted to be able to split the data up to de-clutter the view, while still allowing quick access to different sections and the ability to see summary information for everything.</p>
<p>Here&#8217;s the component&#8230;  It starts out in an overview, but when a node is clicked, that node will maximize itself, while the other nodes minimize and dock along the top of the screen.  A click on a minimized component maximizes it while minimizing the previously maximized one.  Each view displays an icon to indicate whether the data inside it is valid (used for data input).</p>
<p><a href="http://flexninja.com/examples/FocusDemo/FocusDemo.html"><img src="http://flexninja.com/examples/FocusDemo/focusPreview.PNG" alt="focus demo" /></a><br />
(click for example, view source enabled)</p>
<p>The component was eventually canned.  The higher-ups thought it was miserable having to click the overview button then click on a component to switch.  My assumption that the people would intuitively know to click the minimized components to quick switch was apparently wrong.  I stripped it out and made it reusable to keep it from just falling through the cracks.</p>
<p>Caveats:</p>
<ul>
<li>Bottom/right padding no longer work.  I&#8217;m not sure what broke during the conversion, but I don&#8217;t have time to look into it now.  I don&#8217;t like how I implemented this part anyway though, so it should be readdressed.</li>
<li>The integration of the different parts is definitely cludgy.  I would love for people to try it and discuss how they would handle the mechanics of the component (views maximizing/minimizing, event dispatching, border metrics, etc.)  Better yet, if someone wants to hack away at the code and submit changes, I&#8217;ll be happy to update the example.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free 1GB USB flash drive from 360 Flex</title>
		<link>http://flexninja.com/?p=16</link>
		<comments>http://flexninja.com/?p=16#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:18:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=16</guid>
		<description><![CDATA[First comment gets it.
A letter came today from Tom and John (360&#124;Flex fame) with a 1GB USB flash drive full of sessions from Atlanta and Italy.  They asked that I mention the conference on my blog, and give the drive away.  They&#8217;re thinking that once someone gets a hold of it, they&#8217;ll have [...]]]></description>
			<content:encoded><![CDATA[<p>First comment gets it.</p>
<p>A letter came today from Tom and John (360|Flex fame) with a 1GB USB flash drive full of sessions from Atlanta and Italy.  They asked that I mention the conference on my blog, and give the drive away.  They&#8217;re thinking that once someone gets a hold of it, they&#8217;ll have no other recourse than to sign up for <a href="http://www.360conferences.com/360flex/">360|Flex San Jose, August 18th-20th</a>.  I agree, so I&#8217;m tossing in a few drives of my own.  If you&#8217;re new to Flex or have never been to 360 Flex, I cannot recommend this conference enough.  I had at least 20 &#8220;ooooh, that&#8217;s what I should have been doing&#8221; moments at 360|Flex Atlanta, and expect even more next month.</p>
<p>So reply to this post with an email address or website and I&#8217;ll be in touch.  It&#8217;s as easy as giving your address to a complete stranger on the internet!</p>
<p><b>Edit:</b>  I&#8217;ve sent out emails for addresses.  In case anyone&#8217;s wondering, you&#8217;ll get an email from dfalling@gmail.com or dfalling@flexninja.com (most likely gmail.)</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Debugging in Firefox doesn&#8217;t work</title>
		<link>http://flexninja.com/?p=14</link>
		<comments>http://flexninja.com/?p=14#comments</comments>
		<pubDate>Fri, 20 Jun 2008 21:17:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Issues]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=14</guid>
		<description><![CDATA[Sometimes after a Firefox or Flash Player update, debugging from Eclipse/FlexBuilder mysteriously fails.  If you&#8217;re lucky, Eclipse will complain about not being able to find the debug version of the Flash Player, but I&#8217;ve often had it fail silently- only to cause confusion when my breakpoints don&#8217;t trigger.
This issue is well-documented, but I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes after a Firefox or Flash Player update, debugging from Eclipse/FlexBuilder mysteriously fails.  If you&#8217;re lucky, Eclipse <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=758bf58b&#038;sliceId=2">will complain</a> about not being able to find the debug version of the Flash Player, but I&#8217;ve often had it fail silently- only to cause confusion when my breakpoints don&#8217;t trigger.</p>
<p>This issue is <a href="http://nwebb.co.uk/blog/?p=43">well-documented</a>, but I wanted to add help here for the next time I hit it and forget the fix&#8230;</p>
<p>Assuming you&#8217;ve installed the latest <a href="http://www.adobe.com/support/flashplayer/downloads.html">debug version</a> of the Flash Player, just copy it (NPSWF32.dll at the time of this post) over from:<br />
<code>C:\WINDOWS\system32\Macromed\Flash</code><br />
to<br />
<code>C:\Program Files\Mozilla Firefox\plugins</code></p>
<p>Relaunch Firefox and debugging should work.</p>
<p>A fewplugins have also prevented debugging for me:</p>
<ul>
<li>Adblock Plus</li>
<li>GreaseMonkey</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password DataGrid</title>
		<link>http://flexninja.com/?p=13</link>
		<comments>http://flexninja.com/?p=13#comments</comments>
		<pubDate>Wed, 11 Jun 2008 14:23:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://flexninja.com/?p=13</guid>
		<description><![CDATA[I went through way too many attempts to get this working, so here it is in case someone else needs it&#8230;  A DataGrid with a password column that masks the input.

<object	type="application/x-shockwave-flash"
			data="http://flexninja.com/examples/PasswordDataGrid/PasswordDataGrid.swf"
			width="450"
			height="200">
	<param name="movie" value="http://flexninja.com/examples/PasswordDataGrid/PasswordDataGrid.swf" />
</object>
If you look at the code, you&#8217;ll notice that I used an item editor and an item render&#8230;  This is [...]]]></description>
			<content:encoded><![CDATA[<p>I went through way too many attempts to get this working, so here it is in case someone else needs it&#8230;  A DataGrid with a password column that masks the input.</p>

<object	type="application/x-shockwave-flash"
			data="http://flexninja.com/examples/PasswordDataGrid/PasswordDataGrid.swf"
			width="450"
			height="200">
	<param name="movie" value="http://flexninja.com/examples/PasswordDataGrid/PasswordDataGrid.swf" />
</object>
<p>If you look at the code, you&#8217;ll notice that I used an item editor and an item render&#8230;  This is because using just an editor as the renderer made the grid look terrible&#8230;</p>
<p>With backgroundAlpha=1, the box always has the white background, whether it&#8217;s selected or not.  With backgroundAlpha=0, the box never has a white background, even when it is selected.</p>
]]></content:encoded>
			<wfw:commentRss>http://flexninja.com/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
