<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Flexing my Apps</title>
	<atom:link href="http://flexingmyapps.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://flexingmyapps.wordpress.com</link>
	<description>Actionscript / Flex Programming on Crack</description>
	<lastBuildDate>Tue, 29 Jun 2010 18:50:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='flexingmyapps.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Flexing my Apps</title>
		<link>http://flexingmyapps.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://flexingmyapps.wordpress.com/osd.xml" title="Flexing my Apps" />
	<atom:link rel='hub' href='http://flexingmyapps.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Classic office conversation</title>
		<link>http://flexingmyapps.wordpress.com/2010/06/29/classic-office-conversation/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/06/29/classic-office-conversation/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 18:50:44 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=59</guid>
		<description><![CDATA[(1:41:25 PM) adam..._ra: sorry.. at the hospital right now
(1:41:27 PM) adam..._ra: gf had a surgery 
(1:43:37 PM) adam..._ra: quick question
(1:43:52 PM) adam..._ra: do you know how to pass multiple sys vars to a bamboo build?

:)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=59&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>(1:41:25 PM) adam&#8230;_ra: sorry.. at the hospital right now<br />
(1:41:27 PM) adam&#8230;_ra: gf had a surgery<br />
(1:43:37 PM) adam&#8230;_ra: quick question<br />
(1:43:52 PM) adam&#8230;_ra: do you know how to pass multiple sys vars to a bamboo build?</p>
<p> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=59&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/06/29/classic-office-conversation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ah, Flex</title>
		<link>http://flexingmyapps.wordpress.com/2010/06/29/ah-flex/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/06/29/ah-flex/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 14:11:48 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=56</guid>
		<description><![CDATA[This was just too rich not to post:

<a href="http://flexingmyapps.files.wordpress.com/2010/06/processing-dirty-regions.png"><img class="size-full wp-image-57 alignleft" title="Flex is Processing Dirty Regions" src="http://flexingmyapps.files.wordpress.com/2010/06/processing-dirty-regions.png" alt="" width="320" height="290" /></a>
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=56&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was just too rich not to post:</p>
<p><a href="http://flexingmyapps.files.wordpress.com/2010/06/processing-dirty-regions.png"><img class="size-full wp-image-57 alignleft" title="Flex is Processing Dirty Regions" src="http://flexingmyapps.files.wordpress.com/2010/06/processing-dirty-regions.png?w=320&#038;h=290" alt="" width="320" height="290" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=56&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/06/29/ah-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>

		<media:content url="http://flexingmyapps.files.wordpress.com/2010/06/processing-dirty-regions.png" medium="image">
			<media:title type="html">Flex is Processing Dirty Regions</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex and Singletons</title>
		<link>http://flexingmyapps.wordpress.com/2010/03/19/flex-and-singletons/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/03/19/flex-and-singletons/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 15:49:10 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=40</guid>
		<description><![CDATA[One of the major problems with building your generic Singleton is that you cannot extend it. Once you&#8217;ve locked yourself into a particular implementation you cannot create a new version since all the old code is referencing the old version, in the old package structure, with a specific name. You cannot swap out singletons. Or <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=40&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the major problems with building your generic Singleton is that you cannot extend it. Once you&#8217;ve locked yourself into a particular implementation you cannot create a new version since all the old code is referencing the old version, in the old package structure, with a specific name. You cannot swap out singletons. Or can you?</p>
<p>The way Adobe built the Singleton class and PopUpManager, PopUpManagerImpl, IPopUpManager, etc. used to bother me a lot, because it didn&#8217;t make any sense and the purpose of having all those classes &#8211; when they could have used a standard singleton pattern &#8211; was never explained.</p>
<p>Well I finally got it, and it <em>does make sense</em> and I&#8217;m tempted to tell all of our Flex developers working on our framework to begin using the pattern established by the Flex mx.core.Singleton Class.</p>
<p><strong>The Old Way</strong></p>
<p>The standard Singleton approach is to do something like this:</p>
<pre>package
{
  public class MyStandardSingleton
  {
    public function MyStandardSingleton()
    {
      if (_instance)
      {
        throw new Error("Singleton violation.");
      }
    }

    private static var _instance : MyStandardSingleton;

    public function getInstance() : MyStandardSingleton
    {
      if (!_instance)
      {
        _instance = new MyStandardSingleton();
      }

      return _instance;
    }
  }
}
</pre>
<p>The problem with this approach is that one cannot ever create a MyStandardSingleton2 and move all the old code to using it without, well, updating all the old code and every single reference. That&#8217;s not good. Especially if you have lots of layered libraries using that Singleton.</p>
<p><strong>The Right Way</strong></p>
<p>The solution is found by using the approach provided by Adobe:</p>
<p><strong>1) </strong>Create an <strong>interface </strong>representing the functionality of your Singleton (e.g. IMySingleton)</p>
<p><strong>2)</strong> Create an <strong>implementation </strong>of that interface (e.g. MySingletonImpl implements IMySingleton)</p>
<p><strong>3) </strong><strong>Register </strong>your implementation <strong>with mx.core.Singleton</strong>, using the interface class name (with package) as the name:</p>
<pre>Singleton.registerClass("my.package.IMySingleton", MySingletonImpl);
</pre>
<p><strong>4) </strong><strong>Create a class that doesn&#8217;t implement the interface (e.g. MySingleton) but has the same methods as public static.</strong> Then in each of those methods, call Singleton.getInstance(&#8230;) and ask for the string name you provided in (3), cast as the interface from step (1), and call the same method:</p>
<pre>public static function myMethod(param1:DisplayObject):Object
{
  return (Singleton.getInstance("my.package.IMyInterface") as IMyInterface).myMethod(param1);
}
</pre>
<p><strong>Conclusion</strong></p>
<p>Now, if you ever want to create a new implementation of IMySingleton, just make sure you register it with mx.core.Singleton before the old implementation and all your code will just work.</p>
<p>So what would you do if you wanted to create your own IPopUpManager to override the functionality of the Flex PopUpManager? Simply register it with Singleton under the name &#8220;mx.managers::IPopUpManager&#8221; before the Flex framework does.</p>
<p>Unfortunately, I&#8217;m too busy to figure all that out right now, so maybe someone else can enlighten me as to the timing.</p>
<p><strong>- Josh</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=40&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/03/19/flex-and-singletons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Ten Commandments of Programming</title>
		<link>http://flexingmyapps.wordpress.com/2010/03/12/ten-commandments-of-programming/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/03/12/ten-commandments-of-programming/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 19:28:41 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=34</guid>
		<description><![CDATA[Commandments of Programming

   1. Thou shalt spend more time thinking than coding.
   2. Thou shalt never commit a line of code that is unnecessary.
   3. Thou shalt never commit code that you do not fully understand.
   4. Thou shalt never commit commented out code unless there is another comment explaining why it is commented out.
   5. Thou shalt format thy code consistently.
   6. Thou shalt always leave code cleaner and more organized than you found it.
   7. Thou shalt never do the same thing twice but differently without explicit reason to do so. If you are not sure whether you have broken this rule, see (3).
   8. Thou shalt never copy and paste code.
   9. Thou shalt refactor thy code regularly.
  10. Thou shalt never rely on the compiler or someone else to test your code.

Doctrines of Programming

   1. Assume the coder before you didn't know what he was doing until you understand what he was doing.
   2. Always aim to understand someone else's coder better than they do.
   3. A poorly performing application is a broken application.
   4. Build your application to handle more mock data than you ever think would be necessary.
   5. As soon as you feel comfortable about your code, you have sinned.
   6. If you don't know how long something will take, say you don't know how long something will take.
   7. Revise your estimates regularly.
   8. Be explicit and organized in your naming of everything.
   9. If your code is not pretty, nobody will want to be intimate with it.
  10. Make the next developer love you.

"And thirdly, the code is more what you'd call "guidelines" than actual rules." - Barbossa

- Josh
<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=34&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>10 Commandments of Programming</strong></p>
<ol>
<li>Thou shalt spend more time thinking than coding.</li>
<li>Thou shalt never commit a line of code that is unnecessary.</li>
<li>Thou shalt never commit code that you do not fully understand.</li>
<li>Thou shalt never commit commented out code unless there is another comment explaining why it is commented out.</li>
<li>Thou shalt format thy code consistently.</li>
<li>Thou shalt always leave code cleaner and more organized than you found it.</li>
<li>Thou shalt never do the same thing twice but differently without explicit reason to do so. If you are not sure whether you have broken this rule, see (3).</li>
<li>Thou shalt never copy and paste more than two lines of code unless you are moving it.</li>
<li>Thou shalt refactor thy code regularly.</li>
<li>Thou shalt never rely on the compiler or someone else to test your code.</li>
</ol>
<p><strong>10 Doctrines of Programming<br />
</strong></p>
<ol>
<li>Assume the coder before you didn&#8217;t know what he was doing until you understand what he was doing.</li>
<li>Always aim to understand someone else&#8217;s coder better than they do.</li>
<li>A poorly performing application is a broken application.</li>
<li>Build your application to handle more mock data than you ever think would be necessary.</li>
<li>As soon as you feel comfortable about your code, you have sinned.</li>
<li>If you don&#8217;t know how long something will take, say you don&#8217;t know how long something will take.</li>
<li>Revise your estimates regularly.</li>
<li>Be explicit and organized in your naming of everything.</li>
<li>If your code is not pretty, nobody will want to be intimate with it.</li>
<li>Make the next developer love you.</li>
</ol>
<p><em>&#8220;And thirdly, the code is more what you&#8217;d call &#8220;guidelines&#8221; than actual rules.&#8221; &#8211; Barbossa</em></p>
<p><strong>- Josh</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=34&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/03/12/ten-commandments-of-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Graph Control v. 0.1 alpha</title>
		<link>http://flexingmyapps.wordpress.com/2010/02/17/graph-control-v-0-1-alpha/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/02/17/graph-control-v-0-1-alpha/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:15:39 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Graph Control]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=25</guid>
		<description><![CDATA[This is my official release of the Graph Control suite which I am now developing on Google code here:

<a href="http://code.google.com/p/flex-graph-control/">http://code.google.com/p/flex-graph-control/</a>

<strong>What is the Flex Graph Control?</strong>

The Flex Graph Control aims to be the opposite of a charting framework. It is to be a small suite of classes and components designed to allow a user to select values along two axis.

How can I use it?

I'm designing the Flex Graph Control to allow you to easily build items like the following:
<ul>
	<li>Numeric sliders</li>
	<li>Date sliders</li>
	<li>Equalizers</li>
	<li>Multi-value selectors</li>
	<li>Throttle controls</li>
	<li>and more</li>
</ul>
The end goal is to provide developers with a suite of tools to allow them to specify things like minimum and maximum values, axis options including resolution and whether to snap to pixels, etc. and a suite to allow an infinite variation of custom layered renderers (background, tick-mark renderers, custom overlays, and drag-and-drop controls that automatically update the selected values in the base control).

<strong>What is in the Repo?</strong>

There are two projects checked into the repository. The first is the library swc for the graph control suite. The second is a Flex Builder 3 application demoing the latest in features (I am using this to test everything).

<strong>How do I use it?</strong>

At this point, the DateSlider control in the repo is an example of how to build on top of the core GraphControl object.

<strong>- Josh</strong<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=25&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is my official release of the Graph Control suite which I am now developing on Google code here:</p>
<p><a href="http://code.google.com/p/flex-graph-control/">http://code.google.com/p/flex-graph-control/</a></p>
<p><strong>What is the Flex Graph Control?</strong></p>
<p>The Flex Graph Control aims to be the opposite of a charting framework. It is to be a small suite of classes and components designed to allow a user to select values along two axis.</p>
<p><strong>How can I use it?</strong></p>
<p>I&#8217;m designing the Flex Graph Control to allow you to easily build items like the following:</p>
<ul>
<li>Numeric sliders</li>
<li>Date sliders</li>
<li>Equalizers</li>
<li>Multi-value selectors</li>
<li>Throttle controls</li>
<li>and more</li>
</ul>
<p>The end goal is to provide developers with a suite of tools to allow them to specify things like minimum and maximum values, axis options including resolution and whether to snap to pixels, etc. and a suite to allow an infinite variation of custom layered renderers (background, tick-mark renderers, custom overlays, and drag-and-drop controls that automatically update the selected values in the base control).</p>
<p><strong>What is in the Repo?</strong></p>
<p>There are two projects checked into the repository. The first is the library swc for the graph control suite. The second is a Flex Builder 3 application demoing the latest in features (I am using this to test everything).</p>
<p><strong>How do I use it?</strong></p>
<p>At this point, the DateSlider control in the repo is an example of how to build on top of the core GraphControl object.</p>
<p><strong>- Josh</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=25&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/02/17/graph-control-v-0-1-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Utility: getClass()</title>
		<link>http://flexingmyapps.wordpress.com/2010/02/17/utility-getclass/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/02/17/utility-getclass/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 19:02:47 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Utility Classes]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=18</guid>
		<description><![CDATA[Here is a little utility I built to easily retrieve the Class for a given String definition or instantiated object: &#8212;- package { import flash.utils.getDefinitionByName; import flash.utils.getQualifiedClassName; /** * Wraps getDefinitionByName and simply returns null if the class cannot be found. * * If you pass in a non-String object, will return the class associated <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=18&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is a little utility I built to easily retrieve the Class for a given String definition <em>or</em> instantiated object:</p>
<p>&#8212;-</p>
<pre>package
{
  import flash.utils.getDefinitionByName;
  import flash.utils.getQualifiedClassName;

  /**
   * Wraps getDefinitionByName and simply returns null if the class cannot be found.
   *
   * If you pass in a non-String object, will return the class associated with that object.
   *
   * @param definitionNameOrObject A definition name (e.g. "com.myDomain.MyClass") or an actual object,
   * like 'this'.
   */
  public function getClass(definitionNameOrObject : *) : Class
  {
    var clazz : Class;

    if (definitionNameOrObject is String)
    {
      try
      {
        clazz = getDefinitionByName(definitionNameOrObject as String) as Class;

        return clazz;
      }
      catch (error : Error)
      {
        return null;
      }
    }
    else if (definitionNameOrObject is Object)
    {
      var className : String = getQualifiedClassName(definitionNameOrObject);

      clazz = getDefinitionByName(className) as Class;

      return clazz;
    }

    return null;
  }
}
</pre>
<p><em><strong>Note: Make sure the file is exactly named &#8220;getClass.as&#8221; or else the global function will not work.</strong></em></p>
<p><strong>- Josh</strong><em><strong><br />
</strong></em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=18&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/02/17/utility-getclass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex / Actionscript Eclipse Code Snippets</title>
		<link>http://flexingmyapps.wordpress.com/2010/02/16/flex-actionscript-eclipse-code-snippets/</link>
		<comments>http://flexingmyapps.wordpress.com/2010/02/16/flex-actionscript-eclipse-code-snippets/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 14:40:39 +0000</pubDate>
		<dc:creator>Joshua</dc:creator>
				<category><![CDATA[Eclipse Plugins]]></category>

		<guid isPermaLink="false">http://flexingmyapps.wordpress.com/?p=3</guid>
		<description><![CDATA[Here they are. Enjoy with a side of java for best results. You can probably build a 250-300 line asdoc ready Flex component with these in about 30 minutes:

Flex Actionscript Code Snippets

Instructions

1: Extract the xml files from the zip file inside the doc file

2: Open the view titled "Snippets" in Eclipse (I believe this will only work in the Flex / Flash Builder plugin - not the stand alone)

3: Right click in the snippets view

4: Select "Customize..."

5: Import each xml file (you may need to add an item / category before the "Import" button is clickable)

6: Double-click on a snippet to use it.

The most important snippets are the property snippets. Try 'em out!

I had to wrap the zip file in a Word Document in order to get it to act nicely with Wordpress.

- Josh<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=3&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://flexingmyapps.files.wordpress.com/2010/02/snippets.png"><img class="alignright size-large wp-image-13" title="snippets" src="http://flexingmyapps.files.wordpress.com/2010/02/snippets.png?w=221&#038;h=1024" alt="" width="221" height="1024" /></a>Here they are. Enjoy with a side of java for best results. You can probably build a 250-300 line asdoc ready Flex component with these in about 30 minutes:</p>
<p><a href="http://flexingmyapps.files.wordpress.com/2010/02/flex_actionscript_eclipse_snippets1.docx">Flex Actionscript Code Snippets</a></p>
<p><strong>Instructions</strong></p>
<p style="padding-left:30px;">1: Extract the xml files from the zip file inside the doc file</p>
<p style="padding-left:30px;">2: Open the view titled &#8220;Snippets&#8221; in Eclipse (I believe this will only work in the Flex / Flash Builder plugin &#8211; not the stand alone)</p>
<p style="padding-left:30px;">3: Right click in the snippets view</p>
<p style="padding-left:30px;">4: Select &#8220;Customize&#8230;&#8221;</p>
<p style="padding-left:30px;">5: Import each xml file (you may need to add an item / category before the &#8220;Import&#8221; button is clickable)</p>
<p style="padding-left:30px;">6: Double-click on a snippet to use it.</p>
<p>The most important snippets are the <strong>property snippets</strong>. Try &#8216;em out!</p>
<p><em>I had to wrap the zip file in a Word Document in order to get it to act nicely with WordPress.</em></p>
<p><strong>- Josh</strong><em><br />
</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/flexingmyapps.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/flexingmyapps.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/flexingmyapps.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=flexingmyapps.wordpress.com&amp;blog=11834164&amp;post=3&amp;subd=flexingmyapps&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://flexingmyapps.wordpress.com/2010/02/16/flex-actionscript-eclipse-code-snippets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/02540926e28f77d9e0467b52cca1af64?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Josh</media:title>
		</media:content>

		<media:content url="http://flexingmyapps.files.wordpress.com/2010/02/snippets.png?w=221" medium="image">
			<media:title type="html">snippets</media:title>
		</media:content>
	</item>
	</channel>
</rss>
