<?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; trial message</title>
	<atom:link href="http://flex.exposedout.net/tag/trial-message/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>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>

