<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2127143146969697219</id><updated>2012-02-16T05:16:28.442-08:00</updated><category term='Grails'/><category term='Flex'/><category term='Apache Tomcat'/><category term='Postgres'/><category term='AIR'/><title type='text'>ASHOK PERIYASWAMY</title><subtitle type='html'>Hi, I am Ashok(yeah, you can call me that). Another Software Engineer in the market, trying to prove something which I am not yet sure what it is.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-3223002619291426353</id><published>2011-05-04T20:19:00.000-07:00</published><updated>2011-05-04T20:28:12.686-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Find out args length of a function</title><summary type='text'>Here is a sample program to get the number of arguments that a function takes.&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"	creationComplete="initAPP()"&gt;		&lt;mx:Script&gt;		&lt;![CDATA[					private function initAPP(one:int=0, obj:Object=null):void {			}						private function showFunctionArgumentsLength():void {</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/3223002619291426353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2011/05/find-out-args-length-of-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/3223002619291426353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/3223002619291426353'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2011/05/find-out-args-length-of-function.html' title='Find out args length of a function'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-9012143126700350956</id><published>2010-09-22T00:44:00.003-07:00</published><updated>2011-02-01T19:43:50.439-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Reset Array in Flex</title><summary type='text'>This is simple tip to reset the array in FLEX.I am not sure why Array length setter method is public, may be because of this we have the hack.var array:Array = [1,2,3,4];trace(array.length); // 4array.length = 0;trace(array.length); // 0</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/9012143126700350956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2010/09/reset-array-in-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/9012143126700350956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/9012143126700350956'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2010/09/reset-array-in-flex.html' title='Reset Array in Flex'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-6179900595096103982</id><published>2009-11-12T03:44:00.000-08:00</published><updated>2011-02-01T19:44:15.395-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Lazy Loading</title><summary type='text'>By Amy Blankenship Definition: - Wikipedia defines Lazy Loading as "a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed." Typically, we do this to make an RIA application more responsive–since we're not pulling huge amounts of data from the back end at one time, the user doesn't have to wait as long for the call(s) to </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/6179900595096103982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/lazy-loading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6179900595096103982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6179900595096103982'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/lazy-loading.html' title='Lazy Loading'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-255298049288641598</id><published>2009-11-12T02:29:00.000-08:00</published><updated>2011-02-01T19:44:50.657-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Flex caching mechanism</title><summary type='text'>From Ted,Flash Player 9 and above, adds support for caching the Flex Framework within the Flash Player. This feature is nothing short of a revolution for Flex applications deployed to Flash Player. Moving forward the Flex Framework will be cached within the Flash Player dramatically reducing the size of the output SWF files. Your application SWF files will only contain your code plus the Flex </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/255298049288641598/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/flex-caching-mechanism.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/255298049288641598'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/255298049288641598'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/flex-caching-mechanism.html' title='Flex caching mechanism'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-3303018297083803105</id><published>2009-11-05T23:04:00.000-08:00</published><updated>2011-02-01T19:45:28.283-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Postgres'/><title type='text'>Postgres PGDATA folder location change</title><summary type='text'>Step1: stop the postgre serviceStep2: Copy the PGDATA(data) folder to a new locationStep3: Goto regedit(Windows) HKEY_LOCAL_MACHINE-&gt;SYSTEM-&gt;CurrentControlSet-&gt;Services-&gt;postgresql"version"Step4: Edit ImagePath, change the location of the data* folderStep5: Edit the postgre service, check "path to executable" the data folder should get changed.Step6: Start the postgre service.*note: The data </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/3303018297083803105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/postgre-pgdata-folder-location-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/3303018297083803105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/3303018297083803105'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/postgre-pgdata-folder-location-change.html' title='Postgres PGDATA folder location change'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_2AjYEM9-Jmk/SvPMtMQ6kzI/AAAAAAAABV8/4M5RrIjuq50/s72-c/1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-8469147707623500944</id><published>2009-11-05T04:48:00.000-08:00</published><updated>2009-11-05T04:52:44.172-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Apache Tomcat'/><title type='text'>Configure Tomcat JVM heap size</title><summary type='text'>Running Tomcat using catalina.batWindows1. Set the CATALINA_OPTS -Xms512m -Xmx1024m in the environment variables.2. Open the command %CATALINA_HOME%/bin catalina.bat run3. Open browser- go to tomcat index.html4. Click Status tab left side the screen5. Check the JVM valuesit should display what ever we entered in the CATALINA_OPTS parameter in the environment variable*note: if a dos prompt is </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/8469147707623500944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/configure-tomcat-jvm-heap-size.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/8469147707623500944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/8469147707623500944'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/configure-tomcat-jvm-heap-size.html' title='Configure Tomcat JVM heap size'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2604341365230445181</id><published>2009-11-05T04:43:00.000-08:00</published><updated>2011-02-01T19:46:06.846-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>I am Flex Hacker</title><summary type='text'>check out the link :- http://flashahead.adobe.com/challenges/fiawchallenge/</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2604341365230445181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/i-am-flex-hacker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2604341365230445181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2604341365230445181'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/11/i-am-flex-hacker.html' title='I am Flex Hacker'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-6562346394340751668</id><published>2009-04-08T10:48:00.000-07:00</published><updated>2011-02-01T19:46:19.651-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Javascript from Flex</title><summary type='text'>Application calls Javascript from Flex&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt; &lt;mx:Script&gt; &lt;![CDATA[  /*  */  private function initApp():void  {   if(ExternalInterface.available)   {    ExternalInterface.call("alert", "Hello from java script");   }  } ]]&gt; &lt;/mx:Script&gt; &lt;mx:Button label="Call JS" click="initApp()" /&gt;&lt;/mx:</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/6562346394340751668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/javascript-from-flex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6562346394340751668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6562346394340751668'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/javascript-from-flex.html' title='Javascript from Flex'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2691072009741940408</id><published>2009-04-08T10:30:00.000-07:00</published><updated>2011-02-01T19:46:31.173-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><title type='text'>AIR window status message</title><summary type='text'>Application to set the status message in AIR window.&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()" statusBarBackgroundColor="#f0f0f0"&gt;  &lt;mx:Script&gt;  &lt;![CDATA[   import mx.core.Application;      /*  */   private function initApp():void   {    Application.application.status = "Staus message goes </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2691072009741940408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/air-window-status-message.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2691072009741940408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2691072009741940408'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/air-window-status-message.html' title='AIR window status message'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_2AjYEM9-Jmk/SdzgeTSibYI/AAAAAAAABUc/yXTWQn3up9U/s72-c/AIR+status+message.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2523974112542494042</id><published>2009-04-08T10:22:00.000-07:00</published><updated>2011-02-01T19:47:35.600-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><title type='text'>Application to prevent window close</title><summary type='text'>Application to prevent window close by default and do some action.&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()"&gt; &lt;mx:Script&gt;  &lt;![CDATA[   import mx.events.CloseEvent;   import mx.controls.Alert;      /*  */   private function initApp():void   {    this.addEventListener(Event.CLOSING, onClosing</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2523974112542494042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/application-to-prevent-window-close-air.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2523974112542494042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2523974112542494042'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/application-to-prevent-window-close-air.html' title='Application to prevent window close'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2AjYEM9-Jmk/SdzeDXwfKTI/AAAAAAAABUU/xEkHNqeDC0Y/s72-c/AirCloseHandler.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-1499945827108173069</id><published>2009-04-08T10:07:00.001-07:00</published><updated>2011-02-01T19:47:52.250-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><title type='text'>Change the yes button label of Alert</title><summary type='text'>Application to change the label of the alert button.This application is developed using AIR, change the root and end tag to  to work as flex application&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="initApp()"&gt; &lt;mx:Script&gt;  &lt;![CDATA[   import mx.events.CloseEvent;   import mx.controls.Alert;          /*  </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/1499945827108173069/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/change-yes-button-label-of-alert-air.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1499945827108173069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1499945827108173069'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/04/change-yes-button-label-of-alert-air.html' title='Change the yes button label of Alert'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-387210606714422133</id><published>2009-03-26T05:58:00.001-07:00</published><updated>2011-02-01T19:47:17.778-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><title type='text'>PieChart per item fill</title><summary type='text'>Sample application for per item fill using PieChart&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt;  &lt;mx:Script&gt;  &lt;![CDATA[   import mx.graphics.SolidColor;   import mx.graphics.IFill;   import mx.charts.ChartItem;      /*  */   [Bindable]   private var date:Date = new Date();      /*  */   private function pieFill(item:</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/387210606714422133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/piechart-per-item-fill-air.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/387210606714422133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/387210606714422133'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/piechart-per-item-fill-air.html' title='PieChart per item fill'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-189641889195227513</id><published>2009-03-24T22:58:00.001-07:00</published><updated>2011-02-01T19:48:12.523-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Base64 Encoder and Decoder</title><summary type='text'>A simple application on Base64 Encode and Decode&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt; &lt;mx:Script&gt;  &lt;![CDATA[   import mx.utils.Base64Decoder;   import mx.utils.Base64Encoder;      /*  */   private function decodeString(event:MouseEvent):void   {    var enc:Base64Encoder = new Base64Encoder();    var dec:Base64Decoder = </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/189641889195227513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/base64-encoder-and-decoder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/189641889195227513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/189641889195227513'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/base64-encoder-and-decoder.html' title='Base64 Encoder and Decoder'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-4033266081716475589</id><published>2009-03-24T06:37:00.000-07:00</published><updated>2011-02-01T19:48:28.077-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>TextInput with help labels (AIR)</title><summary type='text'>Sample application for help TextInput.package com.abc.components{ import flash.events.Event; import flash.events.FocusEvent;  import mx.controls.TextInput; public class HelpTextInput extends TextInput {    private var _label:String;  private var _isTextSet:Boolean;    public function HelpTextInput()  {   //TODO: implement function   super();  }    /*  */  public function get label():String  {   </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/4033266081716475589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/textinput-with-help-labels-air.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/4033266081716475589'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/4033266081716475589'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/textinput-with-help-labels-air.html' title='TextInput with help labels (AIR)'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-6827301910381970851</id><published>2009-03-24T04:45:00.000-07:00</published><updated>2011-02-01T19:48:47.570-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Date sorter on DataGrid</title><summary type='text'>Simple application to sort column with date type&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt;  &lt;mx:Script&gt;  &lt;![CDATA[   import mx.collections.Sort;   import mx.utils.ObjectUtil;   import mx.collections.SortField;      private function dateSort(obj1:Object, obj2:Object):int   {    return ObjectUtil.dateCompare(new Date(obj1.</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/6827301910381970851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/date-sorter-on-datagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6827301910381970851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/6827301910381970851'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/date-sorter-on-datagrid.html' title='Date sorter on DataGrid'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-1702190878702155479</id><published>2009-03-24T04:41:00.000-07:00</published><updated>2011-02-01T19:49:01.348-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Underline text in button on mouse over</title><summary type='text'>Simple application to underline the text when mouseover on the button&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt; &lt;mx:Button id="btn" label="Mouse Over"   mouseOver="btn.setStyle('textDecoration','underline')"  mouseOut="btn.setStyle('textDecoration','none')"  labelPlacement="left" useHandCursor="true"  buttonMode="true"/&gt; &lt;/mx</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/1702190878702155479/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/underline-text-in-button-on-mouse-over.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1702190878702155479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1702190878702155479'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/underline-text-in-button-on-mouse-over.html' title='Underline text in button on mouse over'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-5040939101407230026</id><published>2009-03-24T04:37:00.000-07:00</published><updated>2011-02-01T19:49:15.052-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Creating Bitmap Filters in ActionScript</title><summary type='text'>Simple application to create Bitmap filters using actionscript.package { import flash.display.Sprite; import flash.events.MouseEvent; import flash.filters.BevelFilter; import flash.filters.BitmapFilter; import flash.filters.BitmapFilterQuality; import flash.filters.BitmapFilterType; public class FilterExamples extends Sprite {  private var bgColor:uint = 0xFFCC00;         private var size:uint</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/5040939101407230026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/creating-bitmap-filters-in-actionscript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/5040939101407230026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/5040939101407230026'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/creating-bitmap-filters-in-actionscript.html' title='Creating Bitmap Filters in ActionScript'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2463926257707126502</id><published>2009-03-24T03:14:00.000-07:00</published><updated>2011-02-01T19:49:29.360-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><category scheme='http://www.blogger.com/atom/ns#' term='Grails'/><title type='text'>Flex - Grails</title><summary type='text'>Application for communication between Flex and Grails.Without Flex-Grails plugin1. Create a grails project in eclipse IDE. click here for help in grails-eclipse integration.2. Create a service. The groovy class class UserServiceService  {  boolean transactional = true          def serviceMethod()   {      }          def sayHello()      {       return "Hello from Grails";      } }3. click here for</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2463926257707126502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/flex-grails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2463926257707126502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2463926257707126502'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/flex-grails.html' title='Flex - Grails'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2685579413389449191</id><published>2009-03-24T02:12:00.000-07:00</published><updated>2011-02-01T19:49:48.755-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>HTML text with image in UITextField</title><summary type='text'>Application to show Image in UITextField&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="initApp()"&gt; &lt;mx:Script&gt;  &lt;![CDATA[   import mx.core.UIComponent;   import mx.core.UITextField;      private var test:String = "&lt;p&gt;Who is the founders of google." + "&lt;img src='http://blogs.citypages.com/gop/google.jpg' width='100' </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2685579413389449191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/html-text-with-image-in-uitextfield.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2685579413389449191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2685579413389449191'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/html-text-with-image-in-uitextfield.html' title='HTML text with image in UITextField'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-1236649273294850776</id><published>2009-03-24T00:44:00.000-07:00</published><updated>2011-02-01T19:50:00.322-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Column text-select in DataGrid</title><summary type='text'>Simple application to make the column selectable not editable :)&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt;   &lt;mx:Script&gt;  &lt;![CDATA[   import mx.controls.TextInput;  ]]&gt; &lt;/mx:Script&gt;  &lt;mx:ArrayCollection id="arr"&gt;  &lt;mx:Array&gt;   &lt;mx:Object name="Ashok" /&gt;   &lt;mx:Object name="Potter" /&gt;  &lt;/mx:Array&gt; &lt;/mx:ArrayCollection&gt;</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/1236649273294850776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/column-text-select-datagrid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1236649273294850776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/1236649273294850776'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/column-text-select-datagrid.html' title='Column text-select in DataGrid'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2388679673240551733</id><published>2009-03-24T00:36:00.001-07:00</published><updated>2011-02-01T19:50:15.077-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AIR'/><title type='text'>Playing Video (AIR)</title><summary type='text'>This is a sample application, which plays an .flv file using VideoDisplay component in flex.&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"&gt;  &lt;mx:String id="urlStr"&gt;assets/Coldplay_1.flv&lt;/mx:String&gt; &lt;mx:VideoDisplay id="vd" width="100%" height="100%"&gt;  &lt;mx:click&gt;   &lt;![CDATA[    if(vd.playing)    {     vd.stop();    }    </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2388679673240551733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/playing-video-air.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2388679673240551733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2388679673240551733'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/playing-video-air.html' title='Playing Video (AIR)'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-7935503278481066017</id><published>2009-03-24T00:06:00.001-07:00</published><updated>2011-02-01T19:50:28.817-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Create Custom ToolTip</title><summary type='text'>This is a simple Flex application to create custom tool tip using "toolTipCreate" event.The tool tip component1. create a component and name it as "CustomTip.mxml" &lt;?xml version="1.0" encoding="utf-8"?&gt;  &lt;mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml"   layout="horizontal"    implements="mx.core.IToolTip"       width="200"        alpha=".8"        borderThickness="1"       backgroundColor="</summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/7935503278481066017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/create-custom-tooltip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/7935503278481066017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/7935503278481066017'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/create-custom-tooltip.html' title='Create Custom ToolTip'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2127143146969697219.post-2857332112215599408</id><published>2009-03-23T22:03:00.000-07:00</published><updated>2011-02-01T19:50:43.040-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flex'/><title type='text'>Using RemoteObject in tomcat webserver</title><summary type='text'>This is a sample application which tells how to communicate between Flex and Java using RemoteObject.Prerequisites,Tomcat webserver here. See if we download BlazeDS turnkey there is tomcat in itself, but we need to run our application in the existing server.BlazeDS  here. Why BlazeDS is to get the jar files and the xml files.Adobe Flex Builder, you can download the trail version hereJava here 1. </summary><link rel='replies' type='application/atom+xml' href='http://potter-flexer.blogspot.com/feeds/2857332112215599408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/using-remoteobject-in-tomcat-webserver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2857332112215599408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2127143146969697219/posts/default/2857332112215599408'/><link rel='alternate' type='text/html' href='http://potter-flexer.blogspot.com/2009/03/using-remoteobject-in-tomcat-webserver.html' title='Using RemoteObject in tomcat webserver'/><author><name>Ashok</name><uri>http://www.blogger.com/profile/14309040175838291244</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
