<?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>FlexOut</title>
	<atom:link href="http://flex.exposedout.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex.exposedout.net</link>
	<description>i am an itemrendrer in the making!</description>
	<lastBuildDate>Fri, 11 Jun 2010 15:54:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Flex component lifecycle and event flow explained</title>
		<link>http://flex.exposedout.net/2010/06/10/flex-component-lifecycle-and-event-flow-explained/</link>
		<comments>http://flex.exposedout.net/2010/06/10/flex-component-lifecycle-and-event-flow-explained/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 07:38:32 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[event flow]]></category>
		<category><![CDATA[lifecycle]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=287</guid>
		<description><![CDATA[Learned something new from Ted today Read original post by Ted here Flex is an event driven programming model and everything happens due to an event. Looking at the MXML code can confuse most of the developers unless they haven&#8217;t looked at the internal class of flex components. If we were to compare Flex, HTML [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Learned something new from <a href="http://ted.onflash.org/">Ted </a>today<br />
Read original post by Ted <a href="http://ted.onflash.org/2007/02/flex-instantiation-life-cycle-and-event.php">here</a></strong></p>
<p>Flex is an event driven programming model and everything happens due to an event. Looking at the MXML code can confuse most of the developers unless they haven&#8217;t looked at the internal class of flex components. If we were to compare Flex, HTML and FLASH in terms of component instantiation.</p>
<ul>
<li> HTML instantiates top to  bottom</li>
<li>Flash executes across frames starting at Frame zero.</li>
<li> Flex on the other had is a bit different.</li>
</ul>
<p>When I started  learning Flex, I struggled with  understanding event flow and instantiation in MXML. I was puzzled  because I really didn&#8217;t understand how event chain started and what happened inside a component to make it finally render on screen. Initially I used to run into numerous runtime  null point exception since i used to think i could access a property of  an object  thinking it would have been created.</p>
<p>Anyhow the key is understanding the event basics and seeing the initialization and event flow, Lets look at a sample application that i have written to explain this. The structure of the application cann be understood by the following diagram.</p>
<p><a href="http://flex.exposedout.net/wp-content/uploads/2010/06/application-structure.png"><img class="alignnone size-medium wp-image-288" title="application structure" src="http://flex.exposedout.net/wp-content/uploads/2010/06/application-structure-300x138.png" alt="" width="300" height="138" /></a></p>
<p>With this Demo app there is no visual clue that you will get  as an output to understand the event flow and instantiation step. its the TRACE statements that are important to explain  how the event  flow and instantiation happens. Below is the code for the same.</p>
<p><span id="more-287"></span></p>
<div class="codecolorer-container actionscript mac-classic" 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 /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span> ?<span style="color: #0066CC;">xml</span> <span style="color: #0066CC;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>application xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;absolute&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span><br />
initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>script<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span> <span style="color: #66cc66;">!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span><br />
<span style="color: #0066CC;">import</span> flash.<span style="color: #006600;">utils</span>.<span style="color: #0066CC;">getTimer</span>;<br />
<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">events</span>.<span style="color: #006600;">FlexEvent</span>;<br />
<span style="color: #808080; font-style: italic;">//preinit trace function</span><br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> preinit<span style="color: #66cc66;">&#40;</span>event:FlexEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><br />
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>flash.<span style="color: #006600;">utils</span>.<span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #ff0000;">&quot;ms  &gt;&gt; preinitialize &quot;</span>+event.<span style="color: #006600;">currentTarget</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">//init trace function</span><br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> init<span style="color: #66cc66;">&#40;</span>event:FlexEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><br />
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>flash.<span style="color: #006600;">utils</span>.<span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #ff0000;">&quot;ms  &gt;&gt; initialize &quot;</span>+event.<span style="color: #006600;">currentTarget</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
<span style="color: #808080; font-style: italic;">//creation complete trace function</span><br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> handlecc<span style="color: #66cc66;">&#40;</span>event:FlexEvent<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><br />
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">String</span><span style="color: #66cc66;">&#40;</span>flash.<span style="color: #006600;">utils</span>.<span style="color: #0066CC;">getTimer</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #ff0000;">&quot;ms  &gt;&gt; creationComplete &quot;</span>+event.<span style="color: #006600;">currentTarget</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">&#125;</span><br />
<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>script<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>hbox <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;hbox&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span>initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>canvas   <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;can&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span> initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>button <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;cbt1&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span> initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>button <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;cbt2&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span>initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>canvas<span style="color: #66cc66;">&gt;</span><br />
<br />
<span style="color: #66cc66;">&lt;</span>vbox <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;vbox&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span>initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>button <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;btn1&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span>initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>button <span style="color: #0066CC;">name</span>=<span style="color: #ff0000;">&quot;btn2&quot;</span> preinitialize=<span style="color: #ff0000;">&quot;preinit(event)&quot;</span>initialize=<span style="color: #ff0000;">&quot;init(event)&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;handlecc(event)&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>vbox<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>hbox<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>application<span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
<p>Download the source <a href="http://exposedout.net/download/component_lifecycle.rar">here</a><br />
I have also Monkey-patched the following classes</p>
<ul>
<li> VBox</li>
<li>HBox</li>
<li>Button</li>
</ul>
<p>In all the above classes I have added a trace statement at  measure() updateDisplayList() and createChildren(). you can see get these files in the source attached.</p>
<p>The component lifecycle  happens  in the following order. Note: i am not explaining what these methods do, but in what order are they executed to give you the final result.</p>
<ol>
<li><strong><em>preInitialize()</em></strong></li>
<li><strong><em>createChildren()</em></strong></li>
<li><strong><em>initialize()</em></strong></li>
<li><strong><em>measure()</em></strong></li>
<li><strong><em>updateDisplayList()</em></strong></li>
<li><strong><em>creationComplete()</em></strong></li>
</ol>
<p>The order of instantiation can be understood by the trace log   if you compiled and  debugged the demoApp</p>
<p>250ms  &gt;&gt; preinitialize test0<br />
259ms  &gt;&gt; preinitialize test0.hbox<br />
262ms  &gt;&gt; preinitialize test0.hbox.can<br />
265ms  &gt;&gt; preinitialize test0.hbox.can.cbt1<br />
266ms  &gt;&gt; create Children &#8211; test0.hbox.can.cbt1<br />
273ms  &gt;&gt; initialize test0.hbox.can.cbt1<br />
275ms  &gt;&gt; preinitialize test0.hbox.can.cbt2<br />
276ms  &gt;&gt; create Children &#8211; test0.hbox.can.cbt2<br />
277ms  &gt;&gt; initialize test0.hbox.can.cbt2<br />
278ms  &gt;&gt; initialize test0.hbox.can<br />
279ms  &gt;&gt; create Children &#8211; test0.hbox.can<br />
281ms  &gt;&gt; preinitialize test0.hbox.vbox<br />
283ms  &gt;&gt; preinitialize test0.hbox.vbox.btn1<br />
284ms  &gt;&gt; create Children &#8211; test0.hbox.vbox.btn1<br />
285ms  &gt;&gt; initialize test0.hbox.vbox.btn1<br />
287ms  &gt;&gt; preinitialize test0.hbox.vbox.btn2<br />
288ms  &gt;&gt; create Children &#8211; test0.hbox.vbox.btn2<br />
289ms  &gt;&gt; initialize test0.hbox.vbox.btn2<br />
290ms  &gt;&gt; initialize test0.hbox.vbox<br />
291ms  &gt;&gt; create Children &#8211; test0.hbox.vbox<br />
292ms  &gt;&gt; initialize test0.hbox<br />
293ms  &gt;&gt; create Children &#8211; test0.hbox<br />
294ms  &gt;&gt; initialize test0<br />
310ms  &gt;&gt; measure &#8211; test0.hbox.can.cbt1<br />
312ms  &gt;&gt; measure &#8211; test0.hbox.can.cbt2<br />
313ms  &gt;&gt; measure &#8211; test0.hbox.vbox.btn1<br />
313ms  &gt;&gt; measure &#8211; test0.hbox.vbox.btn2<br />
315ms  &gt;&gt; measure &#8211; test0.hbox.can<br />
315ms  &gt;&gt; measure &#8211; test0.hbox.vbox<br />
317ms  &gt;&gt; measure &#8211; test0.hbox<br />
344ms  &gt;&gt; updateDisplayList &#8211; test0.hbox<br />
348ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.can<br />
350ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.vbox<br />
351ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.can.cbt1<br />
356ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.can.cbt2<br />
358ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.vbox.btn1<br />
359ms  &gt;&gt; updateDisplayList &#8211; test0.hbox.vbox.btn2<br />
364ms  &gt;&gt; creationComplete test0.hbox.can.cbt1<br />
365ms  &gt;&gt; creationComplete test0.hbox.can.cbt2<br />
366ms  &gt;&gt; creationComplete test0.hbox.vbox.btn1<br />
367ms  &gt;&gt; creationComplete test0.hbox.vbox.btn2<br />
368ms  &gt;&gt; creationComplete test0.hbox.can<br />
370ms  &gt;&gt; creationComplete test0.hbox.vbox<br />
371ms  &gt;&gt; creationComplete test0.hbox<br />
373ms  &gt;&gt; creationComplete test0</p>
<p>Just by looking at the trace log and the application structure image you can slowly start making out a pattern (<strong>preorder traversal</strong>). <em>preInitialize()</em> is called first  for the App then the first child(in our case only child HBOX) then its first child which is the CANVAS and finally the  first child of canvas that is C BUTTON 1  after this the <em>createChildren() </em>and <em>initialize()</em> of the  innermost left child is called  then moving on to its sibling  the <em>preInitialize(), createChildren() and initialize()</em> is called.  This  is followed till all the children have completed the <em>preInitialize(), createChildren() and initialize() </em>steps.</p>
<p>After this the <em>measure()</em> of all the child&#8217;s are called in a <strong>bottom up</strong> approach with left child priority.</p>
<p>After this the <em>updateDisplayList()</em> of all the children&#8217;s are aclled in a <strong> top down </strong>approach with left child priority.</p>
<p>Finally the creationComplete() of all the children are called  again in <strong>bottom up</strong> approach with left child priority.  Thus explaining why creationComplete() of the parent component is called at the very end.  the more you look at the log trace the more you will understand the flow.  Hope this effort of my explaining the instantiation process helped you out.</p>
<p>Download the source <a href="http://exposedout.net/download/component_lifecycle.rar">here</a></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20&amp;bodytext=Learned%20something%20new%20from%20Ted%20today%0D%0ARead%20original%20post%20by%20Ted%20here%0D%0A%0D%0AFlex%20is%20an%20event%20driven%20programming%20model%20and%20everything%20happens%20due%20to%20an%20event.%20Looking%20at%20the%20MXML%20code%20can%20confuse%20most%20of%20the%20developers%20unless%20they%20haven%27t%20looked%20at%20the%20in" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20&amp;annotation=Learned%20something%20new%20from%20Ted%20today%0D%0ARead%20original%20post%20by%20Ted%20here%0D%0A%0D%0AFlex%20is%20an%20event%20driven%20programming%20model%20and%20everything%20happens%20due%20to%20an%20event.%20Looking%20at%20the%20MXML%20code%20can%20confuse%20most%20of%20the%20developers%20unless%20they%20haven%27t%20looked%20at%20the%20in" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;t=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20&amp;notes=Learned%20something%20new%20from%20Ted%20today%0D%0ARead%20original%20post%20by%20Ted%20here%0D%0A%0D%0AFlex%20is%20an%20event%20driven%20programming%20model%20and%20everything%20happens%20due%20to%20an%20event.%20Looking%20at%20the%20MXML%20code%20can%20confuse%20most%20of%20the%20developers%20unless%20they%20haven%27t%20looked%20at%20the%20in" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;t=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F10%2Fflex-component-lifecycle-and-event-flow-explained%2F&amp;title=Flex%20component%20lifecycle%20and%20event%20flow%20explained%20" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/06/10/flex-component-lifecycle-and-event-flow-explained/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>UI patterns</title>
		<link>http://flex.exposedout.net/2010/06/04/ui-patterns/</link>
		<comments>http://flex.exposedout.net/2010/06/04/ui-patterns/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 11:26:35 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=279</guid>
		<description><![CDATA[User needs: these are the UI patterns that the user uses as a tool to understand and interact with the data that has to be conveyed to the user. In short we can say these are the gadget which helps the user to understand raw data by converting them into something meaningful.  I have categorized the UI patterns [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>User needs</strong>: these are the UI patterns that the user uses as a tool to understand and interact with the data that has to be conveyed to the user. In short we can say these are the gadget which helps the user to understand raw data by converting them into something meaningful.  I have categorized the UI patterns in the order of &#8220;user needs and actions&#8221;.</p>
<p><strong>Navigating around</strong><br />
· Accordion<br />
· Headerless Menu<br />
· Breadcrumbs<br />
· Directory Navigation<br />
· Doormat Navigation<br />
· Double Tab Navigation<br />
· Faceted Navigation<br />
· Fly-out Menu<br />
· Home Link<br />
· Icon Menu<br />
· Main Navigation<br />
· Map Navigator<br />
· Meta Navigation</p>
<p style="text-align: right;">Download detailed document: <a href="http://www.exposedout.net/download/UI_Patterns.doc">here</a><br />
<span id="more-279"></span></p>
<p style="text-align: left;">· Minesweeping<br />
· Panning Navigator<br />
· Overlay Menu<br />
· Repeated Menu<br />
· Retractable Menu<br />
· Scrolling Menu<br />
· Shortcut Box<br />
· Split Navigation<br />
· Teaser Menu<br />
· To-the-top Link<br />
· Trail Menu<br />
· Navigation Tree</p>
<p><strong>Basic interactions<br />
</strong>· Action Button<br />
· Guided Tour<br />
· Paging<br />
· Pulldown Button<br />
· Slideshow<br />
· Stepping<br />
· Wizard</p>
<p><strong>Searching<br />
</strong>· Advanced Search<br />
· Autocomplete<br />
· Frequently Asked Questions (FAQ)<br />
· Help Wizard<br />
· Search Box<br />
· Search Area<br />
· Search Results<br />
· Search Tips<br />
· Site Index<br />
· Site Map<br />
· Footer Sitemap<br />
· Tag Cloud<br />
· Topic Pages</p>
<p><strong>Dealing with data</strong><br />
· Carrousel<br />
· Table Filter<br />
· Collapsible Panels<br />
· Details On Demand<br />
· Collector<br />
· Inplace replacement<br />
· List Builder<br />
· List Entry View<br />
· Overview by Detail<br />
· Parts Selector<br />
· Tabs<br />
· Table Sorter<br />
· Thumbnail<br />
· View</p>
<p><strong>Personalizing</strong><br />
· Customizable Window<br />
· Login<br />
· Registration</p>
<p><strong>Shopping<br />
</strong>· Booking<br />
· Product Comparison<br />
· Product Advisor<br />
· Product Configurator<br />
· Purchase Process<br />
· Shopping Cart<br />
· Store Locator<br />
· Testimonials<br />
· Virtual Product Display</p>
<p><strong>Making choices</strong><br />
· Country Selector<br />
· Date Selector<br />
· Language Selector<br />
· Poll<br />
· Rating</p>
<p>Giving input<br />
· Comment Box<br />
· Constraint Input<br />
· Form</p>
<p><strong>Miscellaneous</strong><br />
· Footer Bar<br />
· Hotlist<br />
· News Box<br />
· News Ticker<br />
· Send-a-Friend Link</p>
<p><strong>Application needs</strong>: Patterns that help the application, or you the designer, communicate better with the user</p>
<p><strong>Drawing attention</strong><br />
· Captcha<br />
· Center Stage<br />
· Color Coded Section<br />
· Premium Content Lock<br />
· Grid-based Layout<br />
· Liquid Layout<br />
· Outgoing Links<br />
· Alternating Row Colors</p>
<p><strong>Feedback</strong><br />
· Input Error Message<br />
· Processing Page</p>
<p><strong>Simplifying interaction</strong><br />
· Enlarged Click area<br />
· Font Enlarger</p>
<p>Download detailed document: <a href="http://www.exposedout.net/download/UI_Patterns.doc">here</a></p>
<p>source : http://www.welie.com</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns&amp;bodytext=User%20needs%3A%20these%20are%20the%20UI%20patterns%C2%A0that%20the%20user%20uses%20as%20a%20tool%20to%20understand%20and%20interact%20with%20the%20data%20that%20has%20to%20be%20conveyed%20to%20the%20user.%20In%20short%20we%20can%20say%C2%A0these%20are%20the%20gadget%20which%C2%A0helps%20the%20user%20to%20understand%20raw%20data%20by%20converting%20the" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=UI%20patterns%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns&amp;annotation=User%20needs%3A%20these%20are%20the%20UI%20patterns%C2%A0that%20the%20user%20uses%20as%20a%20tool%20to%20understand%20and%20interact%20with%20the%20data%20that%20has%20to%20be%20conveyed%20to%20the%20user.%20In%20short%20we%20can%20say%C2%A0these%20are%20the%20gadget%20which%C2%A0helps%20the%20user%20to%20understand%20raw%20data%20by%20converting%20the" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;t=UI%20patterns" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns&amp;notes=User%20needs%3A%20these%20are%20the%20UI%20patterns%C2%A0that%20the%20user%20uses%20as%20a%20tool%20to%20understand%20and%20interact%20with%20the%20data%20that%20has%20to%20be%20conveyed%20to%20the%20user.%20In%20short%20we%20can%20say%C2%A0these%20are%20the%20gadget%20which%C2%A0helps%20the%20user%20to%20understand%20raw%20data%20by%20converting%20the" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;t=UI%20patterns" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F06%2F04%2Fui-patterns%2F&amp;title=UI%20patterns" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/06/04/ui-patterns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Diagonol barChart</title>
		<link>http://flex.exposedout.net/2010/05/18/diagonol-barchart/</link>
		<comments>http://flex.exposedout.net/2010/05/18/diagonol-barchart/#comments</comments>
		<pubDate>Tue, 18 May 2010 07:51:30 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[barchart]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[diagonal bar chart]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=275</guid>
		<description><![CDATA[Its not the most practical component though but for a slick &#8220;Reports UI&#8221; I had to develop a diagonal bar chart component that can be used to display a barchart 45degrees to the horizontal axis. At first i thought of solving this by using a conventional Flex Barchart but it turned out to be too [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Its not the most practical component though but for a slick &#8220;Reports UI&#8221; I had to develop a diagonal bar chart component that can be used to display a barchart 45degrees to the horizontal axis. At first i thought of solving this by using a conventional Flex Barchart but it turned out to be too much of effort in styling the barchart to look  like the Screenshot, So i  went ahead and wrote diagonal barChart from scratch.</p>
<p style="text-align: center;"><a href="http://flex.exposedout.net/wp-content/uploads/2010/05/diagnolbar-chart.png"><img class="size-full wp-image-276 aligncenter" title="diagnolbar chart" src="http://flex.exposedout.net/wp-content/uploads/2010/05/diagnolbar-chart.png" alt="" width="268" height="233" /></a></p>
<p style="text-align: left;"><strong>Limitations :</strong><br />
1) Chart not re-sizable<br />
2) Chart written with embedded font (otherwise label cant be rotated).<br />
3) Chart cannot be configured with direction, barThickness  and barGap.</p>
<p><strong>Features:</strong><br />
1) &#8220;n&#8221; Diagonal  bars can be drawn on screen : i have tested it with 1000 but 50 bars are more practical.<br />
2) top 10 bars drawn + Others : this feature enables you to see top 10 bars with the rest of the bars clubbed into others<br />
3)sorted/unsorted bars by value.</p>
<p>well do try it out and if you like the widget do let me kno.</p>
<p>Source <a href="http://www.exposedout.net/flexSource/DiagonalBarChart.zip" target="_blank">here</a></p>
<p>Demo <a href="http://www.exposedout.net/flexSource/DiagonalBarChart.swf" target="_self">here</a></p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart&amp;bodytext=Its%20not%20the%20most%20practical%20component%20though%20but%20for%20a%20slick%20%22Reports%20UI%22%20I%20had%20to%20develop%20a%20diagonal%20bar%20chart%20component%20that%20can%20be%20used%20to%20display%20a%20barchart%2045degrees%20to%20the%20horizontal%20axis.%20At%20first%20i%20thought%20of%20solving%20this%20by%20using%20a%20convention" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Diagonol%20barChart%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart&amp;annotation=Its%20not%20the%20most%20practical%20component%20though%20but%20for%20a%20slick%20%22Reports%20UI%22%20I%20had%20to%20develop%20a%20diagonal%20bar%20chart%20component%20that%20can%20be%20used%20to%20display%20a%20barchart%2045degrees%20to%20the%20horizontal%20axis.%20At%20first%20i%20thought%20of%20solving%20this%20by%20using%20a%20convention" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;t=Diagonol%20barChart" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart&amp;notes=Its%20not%20the%20most%20practical%20component%20though%20but%20for%20a%20slick%20%22Reports%20UI%22%20I%20had%20to%20develop%20a%20diagonal%20bar%20chart%20component%20that%20can%20be%20used%20to%20display%20a%20barchart%2045degrees%20to%20the%20horizontal%20axis.%20At%20first%20i%20thought%20of%20solving%20this%20by%20using%20a%20convention" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;t=Diagonol%20barChart" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Fdiagonol-barchart%2F&amp;title=Diagonol%20barChart" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/05/18/diagonol-barchart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Random color generator</title>
		<link>http://flex.exposedout.net/2010/05/18/random-color-generator/</link>
		<comments>http://flex.exposedout.net/2010/05/18/random-color-generator/#comments</comments>
		<pubDate>Tue, 18 May 2010 07:03:53 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colorTransform]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[random color]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=273</guid>
		<description><![CDATA[I am sure there were many times in the past that you would have wanted to have a function that could return you random colors. Well at least i have faced this problem many times, Mostly when i am giving a demo for a new component which deals with various color ranges. Following is the [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I am sure there were many times in the past that you would have wanted to have a function that could return you random colors. Well at least i have faced this problem many times, Mostly when i am giving a demo for a new component which deals with various color ranges.</p>
<p>Following is the code to generate Random colors:</p>
<div class="codecolorer-container actionscript mac-classic" 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 />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> redBias:<span style="color: #0066CC;">Number</span> = 0xFF;<br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> greenBias:<span style="color: #0066CC;">Number</span> = 0xFF;<br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> blueBias:<span style="color: #0066CC;">Number</span> = 0xFF;<br />
<br />
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> getRandomColor<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:uint<span style="color: #66cc66;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">var</span> ct:ColorTransform = <span style="color: #000000; font-weight: bold;">new</span> ColorTransform<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span>redBias, <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span>greenBias, <span style="color: #0066CC;">Math</span>.<span style="color: #0066CC;">random</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">*</span>blueBias<span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">color</span>:uint = ct.<span style="color: #0066CC;">color</span>;<br />
<span style="color: #b1b100;">return</span> <span style="color: #0066CC;">color</span>;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>you can also modify the above code to return you a  range in a specific color range this can be done by making any 2 colors constant instead of using a  random number. Well then enjoy the code and do post in any new cool things that you can do with this piece of code.</p>
<p>for more know-how read the following post : <a href="http://www.few.vu.nl/~eliens/assets/flex3/langref/flash/geom/ColorTransform.html">ColorTransform</a></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator&amp;bodytext=I%20am%20sure%20there%20were%20many%20times%20in%20the%20past%20that%20you%20would%20have%20wanted%20to%20have%20a%20function%20that%20could%20return%20you%20random%20colors.%20Well%20at%20least%20i%20have%20faced%20this%20problem%20many%20times%2C%20Mostly%20when%20i%20am%20giving%20a%20demo%20for%20a%20new%20component%20which%20deals%20with%20var" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Random%20color%20generator%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator&amp;annotation=I%20am%20sure%20there%20were%20many%20times%20in%20the%20past%20that%20you%20would%20have%20wanted%20to%20have%20a%20function%20that%20could%20return%20you%20random%20colors.%20Well%20at%20least%20i%20have%20faced%20this%20problem%20many%20times%2C%20Mostly%20when%20i%20am%20giving%20a%20demo%20for%20a%20new%20component%20which%20deals%20with%20var" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;t=Random%20color%20generator" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator&amp;notes=I%20am%20sure%20there%20were%20many%20times%20in%20the%20past%20that%20you%20would%20have%20wanted%20to%20have%20a%20function%20that%20could%20return%20you%20random%20colors.%20Well%20at%20least%20i%20have%20faced%20this%20problem%20many%20times%2C%20Mostly%20when%20i%20am%20giving%20a%20demo%20for%20a%20new%20component%20which%20deals%20with%20var" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;t=Random%20color%20generator" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F18%2Frandom-color-generator%2F&amp;title=Random%20color%20generator" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/05/18/random-color-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inspectable : metatag that makes your code fool proof</title>
		<link>http://flex.exposedout.net/2010/05/10/inspectable-metatag-that-makes-your-code-fool-proof/</link>
		<comments>http://flex.exposedout.net/2010/05/10/inspectable-metatag-that-makes-your-code-fool-proof/#comments</comments>
		<pubDate>Mon, 10 May 2010 09:31:45 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[code completion]]></category>
		<category><![CDATA[Inspectable]]></category>
		<category><![CDATA[metatags]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=268</guid>
		<description><![CDATA[If you are building a custom components which will be used by other developers &#60;mxml&#62; style  wont it be cool for them to see the  bindable properties in a popup selectable values (i.e. true/false) via code completion in Flex Builder. Plus it could  also to show in the Properties Panel in design view and the [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you are building a custom components which will be used by other developers &lt;mxml&gt; style  wont it be cool for them to see the  bindable properties in a popup selectable values (i.e.  true/false) via code completion in Flex Builder. Plus it could  also to show in the  Properties Panel in design view and the teammate has the ability to choose a property value.</p>
<p>in short making your component FOOOL proof  <img src="http://flex.exposedout.net/wp-content/plugins/yahoo-messenger-emoticons/emoticons/winking.gif" style="border:none;background:none;vertical-align:-25%;" alt="winking" />. Well then &#8220;Inspectable&#8221; is your best friend.</p>
<p>Usage:</p>
<div class="codecolorer-container actionscript mac-classic" 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 />2<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&#91;</span>Inspectable<span style="color: #66cc66;">&#40;</span> defaultValue=<span style="color: #000000; font-weight: bold;">false</span>,verbose=<span style="color: #cc66cc;">1</span>, category=<span style="color: #ff0000;">&quot;Other&quot;</span>, enumeration=<span style="color: #ff0000;">&quot;true,false&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#93;</span><br />
<span style="color: #66cc66;">&#91;</span>Bindable<span style="color: #66cc66;">&#93;</span> <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> aintThisCool : <span style="color: #0066CC;">Boolean</span>;</div></td></tr></tbody></table></div>
<p>If your like what you have read and want to learn more  follow the link:<a title="Adobe Livedocs" href="http://livedocs.adobe.com/flex/3/html/help.html?content=metadata_3.html" target="_blank">Flex Metatags</a></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20&amp;bodytext=If%20you%20are%20building%20a%20custom%20components%20which%20will%20be%20used%20by%20other%20developers%20%26lt%3Bmxml%26gt%3B%20style%C2%A0%20wont%20it%20be%20cool%20for%20them%20to%20see%20the%C2%A0%20bindable%20properties%20in%20a%20popup%20selectable%20values%20%28i.e.%20%20true%2Ffalse%29%20via%20code%20completion%20in%20Flex%20Builder.%20Plus%20it" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20&amp;annotation=If%20you%20are%20building%20a%20custom%20components%20which%20will%20be%20used%20by%20other%20developers%20%26lt%3Bmxml%26gt%3B%20style%C2%A0%20wont%20it%20be%20cool%20for%20them%20to%20see%20the%C2%A0%20bindable%20properties%20in%20a%20popup%20selectable%20values%20%28i.e.%20%20true%2Ffalse%29%20via%20code%20completion%20in%20Flex%20Builder.%20Plus%20it" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;t=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20&amp;notes=If%20you%20are%20building%20a%20custom%20components%20which%20will%20be%20used%20by%20other%20developers%20%26lt%3Bmxml%26gt%3B%20style%C2%A0%20wont%20it%20be%20cool%20for%20them%20to%20see%20the%C2%A0%20bindable%20properties%20in%20a%20popup%20selectable%20values%20%28i.e.%20%20true%2Ffalse%29%20via%20code%20completion%20in%20Flex%20Builder.%20Plus%20it" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;t=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F05%2F10%2Finspectable-metatag-that-makes-your-code-fool-proof%2F&amp;title=Inspectable%20%3A%20metatag%20that%20makes%20your%20code%20fool%20proof%20" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/05/10/inspectable-metatag-that-makes-your-code-fool-proof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Always Call Super in Item Renderer&#8217;s Override Methods</title>
		<link>http://flex.exposedout.net/2010/03/03/always-call-super-in-item-renderers-override-methods/</link>
		<comments>http://flex.exposedout.net/2010/03/03/always-call-super-in-item-renderers-override-methods/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 05:13:48 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[itemrendrer]]></category>
		<category><![CDATA[super]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=260</guid>
		<description><![CDATA[Today I came across a bug where I was using an item renderer in a data grid and the row didn’t highlight when you mouse over it and wouldn’t get selected when you clicked on it (ie, moused over or clicked on the column, not the entire row). The item renderer consisted of 2 Label [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Today I came across a bug where I was using an item renderer in a data grid and the row didn’t highlight when you mouse over it and wouldn’t get selected when you clicked on it (ie, moused over or clicked on the column, not the entire row). The item renderer consisted of 2 Label component.</p>
<p>At first, it was tough to see what the problem could have been. The item renderer is very simple, I have used more complicated item renderers elsewhere that don’t have this problem. </p>
<p>That’s when I noticed that my data setter override didn’t look quite right:</p>
<div class="codecolorer-container actionscript mac-classic" 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 />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 /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> <span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#40;</span>value:<span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _data = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,LOW_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>== <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,NORMAL_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&amp;</span>lt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,HIGH_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">text</span> = value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span>+<span style="color: #ff0000;">&quot;%&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>I was this close to trying to hack in something using the mouseover and mouseclick handlers, when I realized I just needed to do this little change : <strong>&#8220;super.data = value&#8221;</strong></p>
<div class="codecolorer-container actionscript mac-classic" 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 />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 /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; override <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> <span style="color: #0066CC;">set</span> <span style="color: #0066CC;">data</span><span style="color: #66cc66;">&#40;</span>value:<span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// the missing line that made all the difference</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">super</span>.<span style="color: #0066CC;">data</span> = value;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _data = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&gt;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,LOW_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>== <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,NORMAL_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">parseInt</span><span style="color: #66cc66;">&#40;</span>value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&amp;</span>lt;<span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;color&quot;</span>,HIGH_STATE<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">text</span> = value<span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">&quot;growth&quot;</span><span style="color: #66cc66;">&#93;</span>+<span style="color: #ff0000;">&quot;%&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>Apparently something in the super class&#8217;s data setter does something vitally important, and you really shouldn’t skip that. If you do, <strong>BAD stuff will happen</strong>.</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods&amp;bodytext=Today%20I%20came%20across%20a%20bug%20where%20I%20was%20using%20an%20item%20renderer%20in%20a%20data%20grid%20and%20the%20row%20didn%E2%80%99t%20highlight%20when%20you%20mouse%20over%20it%20and%20wouldn%E2%80%99t%20get%20selected%20when%20you%20clicked%20on%20it%20%28ie%2C%20moused%20over%20or%20clicked%20on%20the%20column%2C%20not%20the%20entire%20row%29.%20The%20i" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods&amp;annotation=Today%20I%20came%20across%20a%20bug%20where%20I%20was%20using%20an%20item%20renderer%20in%20a%20data%20grid%20and%20the%20row%20didn%E2%80%99t%20highlight%20when%20you%20mouse%20over%20it%20and%20wouldn%E2%80%99t%20get%20selected%20when%20you%20clicked%20on%20it%20%28ie%2C%20moused%20over%20or%20clicked%20on%20the%20column%2C%20not%20the%20entire%20row%29.%20The%20i" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;t=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods&amp;notes=Today%20I%20came%20across%20a%20bug%20where%20I%20was%20using%20an%20item%20renderer%20in%20a%20data%20grid%20and%20the%20row%20didn%E2%80%99t%20highlight%20when%20you%20mouse%20over%20it%20and%20wouldn%E2%80%99t%20get%20selected%20when%20you%20clicked%20on%20it%20%28ie%2C%20moused%20over%20or%20clicked%20on%20the%20column%2C%20not%20the%20entire%20row%29.%20The%20i" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;t=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F03%2Falways-call-super-in-item-renderers-override-methods%2F&amp;title=Always%20Call%20Super%20in%20Item%20Renderer%27s%20Override%20Methods" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/03/03/always-call-super-in-item-renderers-override-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>useHandCursor = Pain in the arse!</title>
		<link>http://flex.exposedout.net/2010/03/02/usehandcursor-pain-in-the-arse/</link>
		<comments>http://flex.exposedout.net/2010/03/02/usehandcursor-pain-in-the-arse/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 12:27:34 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/2010/03/02/usehandcursor-pain-in-the-arse/</guid>
		<description><![CDATA[I was creating a UIcomponent called the &#8220;FilterIndicator&#8221; which looks like a button but has a button inside itself to remove the button all-together from the stage. FilterIndicator by default will have a toggle behavior differenciated by the background color: if the filter is active the bgColor is green but if the filter is applied [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I was creating a UIcomponent called the &#8220;FilterIndicator&#8221; which looks like a button but has a button inside itself to remove the button all-together from the stage. FilterIndicator by default will have a toggle behavior differenciated by the background color: if the filter is active the bgColor is green but if the filter is applied it becomes red. the whole component extends Canvas.</p>
<p>The task was to show a hand cursor whenever the user moves his mouse over this component. So far it had turned out to be a pain in the ass till i found the solution.</p>
<p>Well the problem with useHandcursor started when i tried  to show cursor on the canvas. firstly this was not working when i did try this out with various combination i found out that MouseChildren = &#8220;false&#8221; property actually controls the behavior of useHandcursor.</p>
<p>solution :<br />
useHandCursor=”true” buttonMode=”true” mouseChildren=”false”</p>
<p>IMPORTANT: mouseChildren=”false” might cause the  mouseclick of the subsequent below components to not fire at all.</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21&amp;bodytext=I%20was%20creating%20a%20UIcomponent%20called%20the%20%22FilterIndicator%22%20which%20looks%20like%20a%20button%20but%20has%20a%20button%20inside%20itself%20to%20remove%20the%20button%20all-together%20from%20the%20stage.%20FilterIndicator%20by%20default%20will%20have%20a%20toggle%20behavior%20differenciated%20by%20the%20backgrou" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=useHandCursor%20%3D%20Pain%20in%20the%20arse%21%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21&amp;annotation=I%20was%20creating%20a%20UIcomponent%20called%20the%20%22FilterIndicator%22%20which%20looks%20like%20a%20button%20but%20has%20a%20button%20inside%20itself%20to%20remove%20the%20button%20all-together%20from%20the%20stage.%20FilterIndicator%20by%20default%20will%20have%20a%20toggle%20behavior%20differenciated%20by%20the%20backgrou" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;t=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21&amp;notes=I%20was%20creating%20a%20UIcomponent%20called%20the%20%22FilterIndicator%22%20which%20looks%20like%20a%20button%20but%20has%20a%20button%20inside%20itself%20to%20remove%20the%20button%20all-together%20from%20the%20stage.%20FilterIndicator%20by%20default%20will%20have%20a%20toggle%20behavior%20differenciated%20by%20the%20backgrou" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;t=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F03%2F02%2Fusehandcursor-pain-in-the-arse%2F&amp;title=useHandCursor%20%3D%20Pain%20in%20the%20arse%21" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/03/02/usehandcursor-pain-in-the-arse/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Is flex timer Accurate?</title>
		<link>http://flex.exposedout.net/2010/02/18/is-flex-timer-accurate/</link>
		<comments>http://flex.exposedout.net/2010/02/18/is-flex-timer-accurate/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 12:08:06 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[repeatCount]]></category>
		<category><![CDATA[timer]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=256</guid>
		<description><![CDATA[Would you would expect timers in ActionScript 3.0 to be accurate?? “yes, of course!” But there’s a problem: If you set a Timer to go off indefinitely (i.e., with a repeatCount of 0), it appears that the timer doesn’t start the next interval until the listener function returns. So if you don’t correct for this, [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Would you would expect timers in ActionScript 3.0 to be accurate??</p>
<p>“yes, of course!” But there’s a problem:</p>
<p>If you set a Timer to go off indefinitely (i.e., with a repeatCount of 0), it appears that the timer doesn’t start the next interval until the listener function returns. So if you don’t correct for this, then your timer function will creep by the duration of the listener function. If your listener function does something that’s potentially lengthy, you might want to execute it with a callLater() so that the timer isn’t affected. But the timer will still creep unless you apply a correction. Here’s some sample code that demonstrates the effect, side-by-side with a correction.</p>
<div class="codecolorer-container actionscript mac-classic" 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 />38<br />39<br />40<br />41<br />42<br />43<br /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #66cc66;">&lt;</span> ?<span style="color: #0066CC;">xml</span> <span style="color: #0066CC;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;</span>mx :Application xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;absolute&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;{onCreationComplete(event)}&quot;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx<span style="color: #66cc66;">&gt;&lt;</span>mx :Script<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span> <span style="color: #66cc66;">!</span><span style="color: #66cc66;">&#91;</span>CDATA<span style="color: #66cc66;">&#91;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">utils</span>.<span style="color: #006600;">StringUtil</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">events</span>.<span style="color: #006600;">FlexEvent</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> const BASE_INTERVAL:<span style="color: #0066CC;">Number</span> = <span style="color: #cc66cc;">1000</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _creepingTimer:Timer = <span style="color: #000000; font-weight: bold;">new</span> Timer<span style="color: #66cc66;">&#40;</span>BASE_INTERVAL<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _steadyTimer:Timer = <span style="color: #000000; font-weight: bold;">new</span> Timer<span style="color: #66cc66;">&#40;</span>BASE_INTERVAL<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _startTime:<span style="color: #0066CC;">Date</span>;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onCreationComplete<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:FlexEvent<span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _creepingTimer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>TimerEvent.<span style="color: #006600;">TIMER</span>, onCreepingTimer<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _creepingTimer.<span style="color: #0066CC;">start</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _steadyTimer.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span>TimerEvent.<span style="color: #006600;">TIMER</span>, onSteadyTimer<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _steadyTimer.<span style="color: #0066CC;">start</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _startTime = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onCreepingTimer<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:TimerEvent<span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> now:<span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> deltaMS:<span style="color: #0066CC;">int</span> = now.<span style="color: #0066CC;">time</span> - _startTime.<span style="color: #0066CC;">time</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; uiCreepingLog.<span style="color: #0066CC;">text</span> += StringUtil.<span style="color: #006600;">substitute</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span>{0}&quot;</span>, deltaMS<span style="color: #66cc66;">&#41;</span>; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> onSteadyTimer<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">e</span>:TimerEvent<span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> now:<span style="color: #0066CC;">Date</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Date</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> deltaMS:<span style="color: #0066CC;">int</span> = now.<span style="color: #0066CC;">time</span> - _startTime.<span style="color: #0066CC;">time</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; uiSteadyLog.<span style="color: #0066CC;">text</span> += StringUtil.<span style="color: #006600;">substitute</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span>{0}&quot;</span>, deltaMS<span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> offset:<span style="color: #0066CC;">int</span> = deltaMS <span style="color: #66cc66;">%</span> BASE_INTERVAL;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _steadyTimer.<span style="color: #006600;">delay</span> = offset <span style="color: #66cc66;">&lt;</span> <span style="color: #cc66cc;">500</span> ? BASE_INTERVAL - offset : BASE_INTERVAL;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp;<br />
&nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx :HBox <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx :TextArea id=<span style="color: #ff0000;">&quot;uiCreepingLog&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;50%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;Creeping timer:&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx :TextArea id=<span style="color: #ff0000;">&quot;uiSteadyLog&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;50%&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;Steady timer:&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx<span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
<p>read the orignal post at : <a href="http://www.colettas.org/?p=260">joy of flex</a></p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F&amp;bodytext=Would%20you%20would%20expect%20timers%20in%20ActionScript%203.0%20to%20be%20accurate%3F%3F%0D%0A%0D%0A%E2%80%9Cyes%2C%20of%20course%21%E2%80%9D%20But%20there%E2%80%99s%20a%20problem%3A%0D%0A%0D%0AIf%20you%20set%20a%20Timer%20to%20go%20off%20indefinitely%20%28i.e.%2C%20with%20a%20repeatCount%20of%200%29%2C%20it%20appears%20that%20the%20timer%20doesn%E2%80%99t%20start%20the%20next%20inte" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Is%20flex%20timer%20Accurate%3F%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F&amp;annotation=Would%20you%20would%20expect%20timers%20in%20ActionScript%203.0%20to%20be%20accurate%3F%3F%0D%0A%0D%0A%E2%80%9Cyes%2C%20of%20course%21%E2%80%9D%20But%20there%E2%80%99s%20a%20problem%3A%0D%0A%0D%0AIf%20you%20set%20a%20Timer%20to%20go%20off%20indefinitely%20%28i.e.%2C%20with%20a%20repeatCount%20of%200%29%2C%20it%20appears%20that%20the%20timer%20doesn%E2%80%99t%20start%20the%20next%20inte" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;t=Is%20flex%20timer%20Accurate%3F" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F&amp;notes=Would%20you%20would%20expect%20timers%20in%20ActionScript%203.0%20to%20be%20accurate%3F%3F%0D%0A%0D%0A%E2%80%9Cyes%2C%20of%20course%21%E2%80%9D%20But%20there%E2%80%99s%20a%20problem%3A%0D%0A%0D%0AIf%20you%20set%20a%20Timer%20to%20go%20off%20indefinitely%20%28i.e.%2C%20with%20a%20repeatCount%20of%200%29%2C%20it%20appears%20that%20the%20timer%20doesn%E2%80%99t%20start%20the%20next%20inte" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;t=Is%20flex%20timer%20Accurate%3F" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fis-flex-timer-accurate%2F&amp;title=Is%20flex%20timer%20Accurate%3F" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/02/18/is-flex-timer-accurate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geometry 3 points in line test</title>
		<link>http://flex.exposedout.net/2010/02/18/geometry-3-points-in-line-test/</link>
		<comments>http://flex.exposedout.net/2010/02/18/geometry-3-points-in-line-test/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 10:41:29 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=251</guid>
		<description><![CDATA[GeometryMath.isLine() static function tests 3 Points and returns true if these points are in line. Optional 4th parameter defines if you require point2 to be in the middle between 1 and 3. Function is not based on vector algorithm, but on triangle equation. This simple function was developed in order to optimize number of points [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.yoz.sk/wp-content/uploads/inLine.png"><img class="alignleft" style="margin: 5px; border: 5px solid white;" title="inLine" src="http://blog.yoz.sk/wp-content/uploads/inLine-200x100.png" alt="inLine" width="200" height="100" /></a></p>
<p>GeometryMath.isLine() static function tests 3 Points and returns true if these points are in line. Optional 4th parameter defines if you require point2 to be in the middle between 1 and 3. Function is not based on vector algorithm, but on triangle equation. This simple function was developed in order to optimize number of points necessary to draw some paths. To draw a line, you do not need all the points, you can omit all the middle points that are on the same line and the result looks the same – optimizes performance or storage.</p>
<div class="codecolorer-container actionscript mac-classic" 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 />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 /></div></td><td><div class="actionscript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> isLine<span style="color: #66cc66;">&#40;</span>point1:Point, point2:Point,<br />
point3:Point, orderSensitive:<span style="color: #0066CC;">Boolean</span> = <span style="color: #000000; font-weight: bold;">true</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Boolean</span><br />
<span style="color: #66cc66;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">var</span> x1:<span style="color: #0066CC;">Number</span> = point1.<span style="color: #006600;">x</span> - point2.<span style="color: #006600;">x</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> x2:<span style="color: #0066CC;">Number</span> = point2.<span style="color: #006600;">x</span> - point3.<span style="color: #006600;">x</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> y1:<span style="color: #0066CC;">Number</span> = point1.<span style="color: #006600;">y</span> - point2.<span style="color: #006600;">y</span>;<br />
<span style="color: #000000; font-weight: bold;">var</span> y2:<span style="color: #0066CC;">Number</span> = point2.<span style="color: #006600;">y</span> - point3.<span style="color: #006600;">y</span>;<br />
<br />
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>orderSensitive <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>x1 <span style="color: #66cc66;">&amp;</span>gt; <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; x2 <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>x1 <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; x2 <span style="color: #66cc66;">&amp;</span>gt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>y1 <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; y2 <span style="color: #66cc66;">&amp;</span>gt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>y1 <span style="color: #66cc66;">&amp;</span>lt; <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&amp;</span>amp;<span style="color: #66cc66;">&amp;</span>amp; y2 <span style="color: #66cc66;">&amp;</span>gt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000000; font-weight: bold;">false</span>;<br />
<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">!</span>y2<span style="color: #66cc66;">&#41;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #66cc66;">!</span>y1;<br />
<span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">!</span>x2<span style="color: #66cc66;">&#41;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #66cc66;">!</span>x1;<br />
<span style="color: #b1b100;">else</span><br />
<span style="color: #b1b100;">return</span> x1 <span style="color: #66cc66;">/</span> x2 == y1 <span style="color: #66cc66;">/</span> y2;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test&amp;bodytext=%0D%0A%0D%0AGeometryMath.isLine%28%29%20static%20function%20tests%203%20Points%20and%20returns%20true%20if%20these%20points%20are%20in%20line.%20Optional%204th%20parameter%20defines%20if%20you%20require%20point2%20to%20be%20in%20the%20middle%20between%201%20and%203.%20Function%20is%20not%20based%20on%20vector%20algorithm%2C%20but%20on%20triangl" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Geometry%203%20points%20in%20line%20test%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test&amp;annotation=%0D%0A%0D%0AGeometryMath.isLine%28%29%20static%20function%20tests%203%20Points%20and%20returns%20true%20if%20these%20points%20are%20in%20line.%20Optional%204th%20parameter%20defines%20if%20you%20require%20point2%20to%20be%20in%20the%20middle%20between%201%20and%203.%20Function%20is%20not%20based%20on%20vector%20algorithm%2C%20but%20on%20triangl" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;t=Geometry%203%20points%20in%20line%20test" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test&amp;notes=%0D%0A%0D%0AGeometryMath.isLine%28%29%20static%20function%20tests%203%20Points%20and%20returns%20true%20if%20these%20points%20are%20in%20line.%20Optional%204th%20parameter%20defines%20if%20you%20require%20point2%20to%20be%20in%20the%20middle%20between%201%20and%203.%20Function%20is%20not%20based%20on%20vector%20algorithm%2C%20but%20on%20triangl" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;t=Geometry%203%20points%20in%20line%20test" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F18%2Fgeometry-3-points-in-line-test%2F&amp;title=Geometry%203%20points%20in%20line%20test" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/02/18/geometry-3-points-in-line-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Did Google copy flex charts from wordpress??</title>
		<link>http://flex.exposedout.net/2010/02/17/can-google-copy-flex-charts/</link>
		<comments>http://flex.exposedout.net/2010/02/17/can-google-copy-flex-charts/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 09:44:30 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[flex chart]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=244</guid>
		<description><![CDATA[Google just did a makeover on their Google Analytics package, completely revamping their UI. We won’t get to play with it for a while, though, because they’re slowing rolling out the new version across all their myriad users. Undoubtedly this strategy has two business-centric side effects: With a slow rollout, they can fix any bugs in [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Google just did a makeover on their Google Analytics package, <a href="http://analytics.blogspot.com/2007/05/new-version-of-google-analytics.html">completely revamping their UI</a>. We won’t get to play with it for a while, though, because they’re slowing rolling out the new version across all their myriad users. Undoubtedly this strategy has two business-centric side effects:</p>
<ol>
<li>With a slow rollout, they can fix any bugs in the application which they might have overlooked. By the time the 95% start to use it, the 5% will have made it perfect.</li>
<li>They can make it sure it scales. As they add site after site, they can accurately measure how much of their distributed grid will have to power the new, heavier UI.</li>
</ol>
<p><img id="image2225" src="http://elliottback.com/wp/wp-content/uploads/2007/05/google-stats.jpg" alt="google-stats.jpg" /></p>
<p>I don’t have access to a live version, but this screenshot looks a lot the newly announced <a href="http://wordpress.com/features/stats/">free stat tracking app from WordPress</a>. For comparison, here’s a screenshot from their web page:</p>
<p><img id="image2226" src="http://elliottback.com/wp/wp-content/uploads/2007/05/wp-stats.png" alt="wp-stats.png" /></p>
<p>I won’t argue that they’re the same, but the style is similar–and WordPress came way first. Copying or unconscious emulation? You decide.</p>



Share:


	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="DZone"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F&amp;bodytext=Google%20just%20did%20a%20makeover%20on%20their%20Google%20Analytics%20package%2C%C2%A0completely%20revamping%20their%20UI.%20We%20won%E2%80%99t%20get%20to%20play%20with%20it%20for%20a%20while%2C%20though%2C%20because%20they%E2%80%99re%20slowing%20rolling%20out%20the%20new%20version%20across%20all%20their%20myriad%20users.%20Undoubtedly%20this%20st" title="Digg"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F%20-%20http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F" title="Twitter"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F&amp;annotation=Google%20just%20did%20a%20makeover%20on%20their%20Google%20Analytics%20package%2C%C2%A0completely%20revamping%20their%20UI.%20We%20won%E2%80%99t%20get%20to%20play%20with%20it%20for%20a%20while%2C%20though%2C%20because%20they%E2%80%99re%20slowing%20rolling%20out%20the%20new%20version%20across%20all%20their%20myriad%20users.%20Undoubtedly%20this%20st" title="Google Bookmarks"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F" title="Technorati"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="StumbleUpon"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;t=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="MySpace"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F" title="Sphinn"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F&amp;notes=Google%20just%20did%20a%20makeover%20on%20their%20Google%20Analytics%20package%2C%C2%A0completely%20revamping%20their%20UI.%20We%20won%E2%80%99t%20get%20to%20play%20with%20it%20for%20a%20while%2C%20though%2C%20because%20they%E2%80%99re%20slowing%20rolling%20out%20the%20new%20version%20across%20all%20their%20myriad%20users.%20Undoubtedly%20this%20st" title="del.icio.us"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;t=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="Facebook"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="Reddit"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fflex.exposedout.net%2F2010%2F02%2F17%2Fcan-google-copy-flex-charts%2F&amp;title=Did%20Google%20copy%20flex%20charts%20from%20wordpress%3F%3F" title="Mixx"><img src="http://flex.exposedout.net/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2010/02/17/can-google-copy-flex-charts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
