<?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 &#187; random</title>
	<atom:link href="http://flex.exposedout.net/category/random/feed/" rel="self" type="application/rss+xml" />
	<link>http://flex.exposedout.net</link>
	<description>i am an itemrendrer in the making!</description>
	<lastBuildDate>Fri, 13 May 2011 10:05:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<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, [...]


Related posts:<ol><li><a href='http://flex.exposedout.net/2011/05/13/export-to-jpeg-in-flex-using-screen-capture/' rel='bookmark' title='Permanent Link: Export to Jpeg in flex.'>Export to Jpeg in flex.</a></li>
<li><a href='http://flex.exposedout.net/2008/09/16/event-propogation/' rel='bookmark' title='Permanent Link: Event Propogation'>Event Propogation</a></li>
<li><a href='http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/' rel='bookmark' title='Permanent Link: Filter datagrid using a hslider'>Filter datagrid using a hslider</a></li>
</ol>]]></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>


<p>Related posts:<ol><li><a href='http://flex.exposedout.net/2011/05/13/export-to-jpeg-in-flex-using-screen-capture/' rel='bookmark' title='Permanent Link: Export to Jpeg in flex.'>Export to Jpeg in flex.</a></li>
<li><a href='http://flex.exposedout.net/2008/09/16/event-propogation/' rel='bookmark' title='Permanent Link: Event Propogation'>Event Propogation</a></li>
<li><a href='http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/' rel='bookmark' title='Permanent Link: Filter datagrid using a hslider'>Filter datagrid using a hslider</a></li>
</ol></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.]]></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>


<p>No related posts.</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 [...]


Related posts:<ol><li><a href='http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/' rel='bookmark' title='Permanent Link: Copy functionality in DataGrid'>Copy functionality in DataGrid</a></li>
</ol>]]></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>


<p>Related posts:<ol><li><a href='http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/' rel='bookmark' title='Permanent Link: Copy functionality in DataGrid'>Copy functionality in DataGrid</a></li>
</ol></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>
		<item>
		<title>doing nothing!</title>
		<link>http://flex.exposedout.net/2009/09/25/doing-nothing/</link>
		<comments>http://flex.exposedout.net/2009/09/25/doing-nothing/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 08:24:23 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://flex.exposedout.net/?p=237</guid>
		<description><![CDATA[I got the Swine flu :( well was browsing through a few examples and saw a datagrid pagination example. check it out  here. No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong>I got the Swine flu :(</strong></p>
<p>well was browsing through a few examples and saw a datagrid pagination example.<a href="http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html" target="_blank"></a></p>
<p>check it out <a href="http://gurufaction.blogspot.com/2007/02/flex-datagrid-paging-example-with.html" target="_blank"> here.</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/09/25/doing-nothing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamically add remove columns in a datagrid</title>
		<link>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/</link>
		<comments>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 14:46:33 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[add columns]]></category>
		<category><![CDATA[datagrid]]></category>
		<category><![CDATA[dynamic columns]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=25</guid>
		<description><![CDATA[I had a hard time figuring out how to add remove columns  dynamically from a datagrid and after lots of code iterations I have reached a workable scenario. Right now the code is fairly easy to understand and can be enhanced to a gr8 deal, I still need to add other important functionalities. Close headerrenderer for [...]


Related posts:<ol><li><a href='http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/' rel='bookmark' title='Permanent Link: Copy functionality in DataGrid'>Copy functionality in DataGrid</a></li>
<li><a href='http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/' rel='bookmark' title='Permanent Link: Filter datagrid using a hslider'>Filter datagrid using a hslider</a></li>
<li><a href='http://flex.exposedout.net/2008/10/15/flex-datagrid-default-column-sort/' rel='bookmark' title='Permanent Link: Flex dataGrid default column sort'>Flex dataGrid default column sort</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a hard time figuring out how to add remove columns  dynamically from a datagrid and after lots of code iterations I have reached a workable scenario. Right now the code is fairly easy to understand and can be enhanced to a gr8 deal,</p>
<p>I still need to add other important functionalities.</p>
<ul>
<li>Close headerrenderer for each column</li>
<li>delete entire row functionality</li>
<li>user defined default state</li>
<li>and much more&#8230;</li>
</ul>
<p>Dint get the time to complete this post but someday i will surely post a complete working APP<br />
by that time check out the code  USE AND MODIFY AS PLEASED!!!</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 />44<br />45<br />46<br />47<br />48<br />49<br />50<br />51<br />52<br />53<br />54<br />55<br />56<br />57<br />58<br />59<br />60<br />61<br />62<br />63<br />64<br />65<br />66<br />67<br />68<br />69<br />70<br />71<br />72<br />73<br />74<br />75<br />76<br />77<br />78<br />79<br />80<br />81<br />82<br />83<br />84<br />85<br />86<br />87<br />88<br />89<br />90<br />91<br />92<br />93<br />94<br />95<br />96<br />97<br />98<br />99<br />100<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;vertical&quot;</span> <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; <br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:hdividedbox <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> dividerRelease=<span style="color: #ff0000;">&quot;handleDivderRelease()&quot;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&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;">controls</span>.<span style="color: #006600;">CheckBox</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">controls</span>.<span style="color: #006600;">ComboBox</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">controls</span>.<span style="color: #006600;">dataGridClasses</span>.<span style="color: #006600;">DataGridColumn</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> counter : <span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">var</span> conDataProvider : <span style="color: #0066CC;">Array</span> =<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col1&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c1&quot;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col2&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c2&quot;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col3&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c3&quot;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col4&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c4&quot;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col5&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c5&quot;</span><span style="color: #66cc66;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span>label : <span style="color: #ff0000;">&quot;col6&quot;</span>, <span style="color: #0066CC;">data</span> : <span style="color: #ff0000;">&quot;c6&quot;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> hideShowColumns<span style="color: #66cc66;">&#40;</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; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> actualColumns:<span style="color: #0066CC;">Array</span> = ResultGrid.<span style="color: #006600;">columns</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> actualSelectedColumns:<span style="color: #0066CC;">Array</span> = &nbsp;lstColumns.<span style="color: #006600;">selectedItems</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> dataGridColumn:DataGridColumn;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> sDataField:<span style="color: #0066CC;">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> sDataFieldCur:<span style="color: #0066CC;">String</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> columnVisible:<span style="color: #0066CC;">Boolean</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">int</span>=<span style="color: #cc66cc;">0</span>;i<span style="color: #66cc66;">&lt;</span>actualColumns.<span style="color: #0066CC;">length</span>;i++<span style="color: #66cc66;">&#41;</span> &nbsp;<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnVisible = <span style="color: #000000; font-weight: bold;">false</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridColumn = actualColumns<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sDataField = dataGridColumn.<span style="color: #006600;">dataField</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> j : <span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">0</span>; j <span style="color: #66cc66;">&lt;</span> actualSelectedColumns.<span style="color: #0066CC;">length</span>; j++<span style="color: #66cc66;">&#41;</span> &nbsp;<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>actualSelectedColumns<span style="color: #66cc66;">&#91;</span>j<span style="color: #66cc66;">&#93;</span> == <span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span> <span style="color: #b1b100;">continue</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sDataFieldCur = actualSelectedColumns<span style="color: #66cc66;">&#91;</span>j<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">data</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>sDataFieldCur == sDataField<span style="color: #66cc66;">&#41;</span> &nbsp;<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; columnVisible = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">break</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span> &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>columnVisible<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridColumn.<span style="color: #0066CC;">visible</span> = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> &nbsp;<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dataGridColumn.<span style="color: #0066CC;">visible</span> = <span style="color: #000000; font-weight: bold;">false</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> selectAll<span style="color: #66cc66;">&#40;</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; &nbsp; &nbsp; lstColumns.<span style="color: #006600;">selectedIndices</span>=<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">3</span>,<span style="color: #cc66cc;">4</span>,<span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hideShowColumns<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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> clearAll<span style="color: #66cc66;">&#40;</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; &nbsp; &nbsp; lstColumns.<span style="color: #006600;">selectedIndices</span>=<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hideShowColumns<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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> setDefault<span style="color: #66cc66;">&#40;</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; &nbsp; &nbsp; lstColumns.<span style="color: #006600;">selectedIndices</span>=<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span>,<span style="color: #cc66cc;">1</span>,<span style="color: #cc66cc;">2</span>,<span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hideShowColumns<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; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">function</span> handleDivderRelease<span style="color: #66cc66;">&#40;</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; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>counter == <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; controlBox.<span style="color: #0066CC;">width</span> =<span style="color: #cc66cc;">0</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><span style="color: #b1b100;">else</span> <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>counter == <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; controlBox.<span style="color: #0066CC;">width</span> =<span style="color: #cc66cc;">120</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; counter = <span style="color: #66cc66;">&#40;</span>counter +<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">%</span>2;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &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:script<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:vbox id=<span style="color: #ff0000;">&quot;controlBox&quot;</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;120&quot;</span> maxWidth=<span style="color: #ff0000;">&quot;120&quot;</span> &nbsp;verticalGap=<span style="color: #ff0000;">&quot;0&quot;</span> horizontalScrollPolicy=<span style="color: #ff0000;">&quot;off&quot;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:label <span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;Selected columns&quot;</span> fontWeight=<span style="color: #ff0000;">&quot;bold&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">list</span> <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;120&quot;</span> id=<span style="color: #ff0000;">&quot;lstColumns&quot;</span> dataProvider=<span style="color: #ff0000;">&quot;{conDataProvider}&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;labelField=<span style="color: #ff0000;">&quot;label&quot;</span> <span style="color: #0066CC;">borderColor</span>=<span style="color: #ff0000;">&quot;#000000&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;allowMultipleSelection=<span style="color: #ff0000;">&quot;true&quot;</span> click=<span style="color: #ff0000;">&quot;hideShowColumns()&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;selectedIndices=<span style="color: #ff0000;">&quot;[0,1,2,3]&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:textarea <span style="color: #0066CC;">wordWrap</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #0066CC;">selectable</span>=<span style="color: #ff0000;">&quot;false&quot;</span> editable=<span style="color: #ff0000;">&quot;false&quot;</span> borderStyle=<span style="color: #ff0000;">&quot;none&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #0066CC;">text</span>=<span style="color: #ff0000;">&quot;For multiple selection use ctrl/shift keys&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;120&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:spacer <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;5&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">button</span> label=<span style="color: #ff0000;">&quot;Select All&quot;</span> &nbsp;<span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> click=<span style="color: #ff0000;">&quot;selectAll()&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">button</span> label=<span style="color: #ff0000;">&quot;Default&quot;</span> &nbsp;<span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> click=<span style="color: #ff0000;">&quot;setDefault()&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:<span style="color: #0066CC;">button</span> label=<span style="color: #ff0000;">&quot;Clear All&quot;</span> <span style="color: #0066CC;">width</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> click=<span style="color: #ff0000;">&quot;clearAll()&quot;</span><span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx:vbox<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:vbox <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> <span style="color: #0066CC;">width</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:datagrid <span style="color: #0066CC;">height</span>=<span style="color: #ff0000;">&quot;100%&quot;</span> id=<span style="color: #ff0000;">&quot;ResultGrid&quot;</span> selectedIndex=<span style="color: #ff0000;">&quot;0&quot;</span> <span style="color: #0066CC;">enabled</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #0066CC;">selectable</span>=<span style="color: #ff0000;">&quot;true&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;init()&quot;</span><span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:columns<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col1&quot;</span> dataField=<span style="color: #ff0000;">&quot;c1&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col2&quot;</span> dataField=<span style="color: #ff0000;">&quot;c2&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col3&quot;</span> dataField=<span style="color: #ff0000;">&quot;c3&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col4&quot;</span> dataField=<span style="color: #ff0000;">&quot;c4&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col5&quot;</span> dataField=<span style="color: #ff0000;">&quot;c5&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;</span>mx:datagridcolumn headerText=<span style="color: #ff0000;">&quot;col6&quot;</span> dataField=<span style="color: #ff0000;">&quot;c6&quot;</span> <span style="color: #0066CC;">visible</span>=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #66cc66;">/&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx:columns<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx:datagrid<span style="color: #66cc66;">&gt;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&lt;/</span>mx:vbox<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>mx:hdividedbox<span style="color: #66cc66;">&gt;</span><br />
<span style="color: #66cc66;">&lt;/</span>mx:application<span style="color: #66cc66;">&gt;</span></div></td></tr></tbody></table></div>
<p><a href="http://flex.exposedout.net/wp-content/uploads/2009/07/dynamic-grid.png"><img class="aligncenter size-full wp-image-371" title="dynamic grid" src="http://flex.exposedout.net/wp-content/uploads/2009/07/dynamic-grid.png" alt="" width="629" height="419" /></a></p>


<p>Related posts:<ol><li><a href='http://flex.exposedout.net/2008/08/18/copy-functionality-in-datagrid/' rel='bookmark' title='Permanent Link: Copy functionality in DataGrid'>Copy functionality in DataGrid</a></li>
<li><a href='http://flex.exposedout.net/2009/01/22/filter-datagrid-using-slider/' rel='bookmark' title='Permanent Link: Filter datagrid using a hslider'>Filter datagrid using a hslider</a></li>
<li><a href='http://flex.exposedout.net/2008/10/15/flex-datagrid-default-column-sort/' rel='bookmark' title='Permanent Link: Flex dataGrid default column sort'>Flex dataGrid default column sort</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove &#8220;Flex Data Visualization Trial&#8221; using actionscript</title>
		<link>http://flex.exposedout.net/2009/05/20/remove-flex-data-visualization-trial-using-actionscript/</link>
		<comments>http://flex.exposedout.net/2009/05/20/remove-flex-data-visualization-trial-using-actionscript/#comments</comments>
		<pubDate>Wed, 20 May 2009 11:34:05 +0000</pubDate>
		<dc:creator>Vikram singh</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[innovation]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[Flex Data Visualization Trial]]></category>
		<category><![CDATA[remove trial]]></category>
		<category><![CDATA[trial message]]></category>

		<guid isPermaLink="false">http://guavus.wordpress.com/?p=213</guid>
		<description><![CDATA[I did a small hack in the Flex charting code and removed the Trial message from the Charting component by writing 1 simple actionscript lines. what you need to do is in the creationcomplete of any charting component write the following code 123456789private function removeTrialMsg&#40;&#41;:void&#123;  &#160;         var arra : Array = new Array&#40;&#41;;    [...]


Related posts:<ol><li><a href='http://flex.exposedout.net/2007/10/10/data-visualization/' rel='bookmark' title='Permanent Link: Data visualization?'>Data visualization?</a></li>
<li><a href='http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/' rel='bookmark' title='Permanent Link: Dynamically add remove columns in a datagrid'>Dynamically add remove columns in a datagrid</a></li>
<li><a href='http://flex.exposedout.net/2011/04/11/flash-charts-on-ipad-and-iphone/' rel='bookmark' title='Permanent Link: Flash &#8220;like&#8221; charts for iPad and iPhone'>Flash &#8220;like&#8221; charts for iPad and iPhone</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I did a small hack in the Flex charting code and removed the Trial message from the Charting component by writing 1 simple actionscript lines.</p>
<p>what you need to do is in the creationcomplete of any charting component write the following code</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;">function</span> removeTrialMsg<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span> <br />
&nbsp;         <span style="color: #000000; font-weight: bold;">var</span> arra : <span style="color: #0066CC;">Array</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
            <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">int</span> =<span style="color: #cc66cc;">0</span>;i<span style="color: #66cc66;">&amp;</span>lt;<span style="color: #0066CC;">this</span>.<span style="color: #006600;">numChildren</span>;i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span><br />
               arra.<span style="color: #0066CC;">push</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildAt</span><span style="color: #66cc66;">&#40;</span>i<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;<br />
            <span style="color: #66cc66;">&#125;</span><br />
<br />
<span style="color: #808080; font-style: italic;">// the above 4 lines are just to check  what r the childs added</span><br />
<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">numChildren</span>-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> as <span style="color: #0066CC;">TextField</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">htmlText</span> = <span style="color: #ff0000;">&quot; &quot;</span>;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>we  tried to set visible false but that dint work we also tried to remove the textfield child alltogether  but that too dint work but finally it was the html text property of the textfield that gave way.</p>
<p>now you can also add your custom  trial message to your application :)</p>
<p>just replace the blank with your text for example:</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 /></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;">function</span> removeTrialMsg<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span><span style="color: #66cc66;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildAt</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #006600;">numChildren</span>-<span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> as <span style="color: #0066CC;">TextField</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #0066CC;">htmlText</span> = <span style="color: #ff0000;">&quot;this is TRIAL&quot;</span>;<br />
<span style="color: #66cc66;">&#125;</span></div></td></tr></tbody></table></div>
<p>But its better that you buy your own licence key for charting. The above example was basically for educational purpose. have fun :)</p>
<p><img class="aligncenter size-full wp-image-216" title="trial" src="http://guavus.files.wordpress.com/2009/05/trial.jpg" alt="trial" width="480" height="123" /></p>


<p>Related posts:<ol><li><a href='http://flex.exposedout.net/2007/10/10/data-visualization/' rel='bookmark' title='Permanent Link: Data visualization?'>Data visualization?</a></li>
<li><a href='http://flex.exposedout.net/2009/07/10/dynamically-add-remove-columns-in-a-datagrid/' rel='bookmark' title='Permanent Link: Dynamically add remove columns in a datagrid'>Dynamically add remove columns in a datagrid</a></li>
<li><a href='http://flex.exposedout.net/2011/04/11/flash-charts-on-ipad-and-iphone/' rel='bookmark' title='Permanent Link: Flash &#8220;like&#8221; charts for iPad and iPhone'>Flash &#8220;like&#8221; charts for iPad and iPhone</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://flex.exposedout.net/2009/05/20/remove-flex-data-visualization-trial-using-actionscript/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

