<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Create possibility</title>
	<atom:link href="http://guptamukesh.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://guptamukesh.wordpress.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 03:36:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='guptamukesh.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Create possibility</title>
		<link>http://guptamukesh.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://guptamukesh.wordpress.com/osd.xml" title="Create possibility" />
	<atom:link rel='hub' href='http://guptamukesh.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Remove item from Array/ArrayCollection</title>
		<link>http://guptamukesh.wordpress.com/2011/11/17/remove-item-from-arrayarraycollection/</link>
		<comments>http://guptamukesh.wordpress.com/2011/11/17/remove-item-from-arrayarraycollection/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 14:54:32 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/2011/11/17/remove-item-from-arrayarraycollection/</guid>
		<description><![CDATA[Below code remove item from Array/Arraycollection and takes care of array/arraycollections&#8217;s new indexes : var i:int= 0; while(i&#60;draftsAC.length) { if(draftsAC[i].isSelected)// condition to remove  item { draftsAC.removeItemAt(i); //do not increment i as array/arraycollcetion&#8217;s index reduced by 1 because of delete } &#8230; <a href="http://guptamukesh.wordpress.com/2011/11/17/remove-item-from-arrayarraycollection/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=485&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Below code remove item from Array/Arraycollection and takes care of array/arraycollections&#8217;s new indexes :</p>
<p>var i:int= 0;<br />
while(i&lt;draftsAC.length)<br />
{<br />
if(draftsAC[i].isSelected)// condition to remove  item<br />
{<br />
draftsAC.removeItemAt(i);</p>
<p>//do not increment i as array/arraycollcetion&#8217;s index reduced by 1 because of delete</p>
<p>}<br />
else<br />
{<br />
//increment i</p>
<p>i++ ;<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/485/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/485/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/485/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=485&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/11/17/remove-item-from-arrayarraycollection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Regular expression</title>
		<link>http://guptamukesh.wordpress.com/2011/11/02/regular-expression/</link>
		<comments>http://guptamukesh.wordpress.com/2011/11/02/regular-expression/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 10:57:01 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/2011/11/02/regular-expression/</guid>
		<description><![CDATA[\b : \b allows you to perform a &#8220;whole words only&#8221; search using a regular expression in the form of \bword\b. A &#8220;word character&#8221; is a character that can be used to form words. All characters that are not &#8220;word &#8230; <a href="http://guptamukesh.wordpress.com/2011/11/02/regular-expression/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=477&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>\b</strong> :<br />
<strong>\b</strong> allows you to perform a &#8220;whole words only&#8221; search using a regular expression in the form of \bword\b. A &#8220;word character&#8221; is a character that can be used to form words. All characters that are not &#8220;word characters&#8221; are &#8220;non-word characters&#8221;.</p>
<p><strong>Example</strong> :<br />
sampleStr = &#8216;<span style="color:#99cc00;">find</span> it and replace what you <span style="color:#99cc00;">find</span>.&#8217;<br />
regexp : /\bfind\b/g;<br />
result: it will match at index 0 and 29<br />
whereas<br />
if sampleStr = &#8216;<span style="color:#99cc00;">find</span> it and replace what youfind.&#8217;<br />
result: it will match at index 0 only</p>
<p>&nbsp;</p>
<p><strong>The m (multiline) flag</strong></p>
<p>If the m (multiline) flag is not set, the ^ matches the beginning of the string and the $ matches the end of the string. If the m flag is set, these characters match the beginning of a line and end of a line, respectively. Consider the following string, which includes a newline character:</p>
<p>var str:String = &#8220;<span style="color:#99cc00;">Catch</span> me if you can\n&#8221;;<br />
str += &#8220;catch but do not catch me if you can not&#8221;;<br />
trace(str.match(/^\w*/g)); // Match a word at the beginning of the string.</p>
<p>Even though the g (global) flag is set in the regular expression, the match() method matches only one substring, since there is only one match for the ^&#8211;the beginning of the string. The output is:</p>
<p>Here is the same code with the m flag set:</p>
<p>var str:String = &#8220;<span style="color:#99cc00;">Catch</span> me if you can\n&#8221;;<br />
str += &#8220;<span style="color:#99cc00;">catch</span> but do not catch me if you can not&#8221;;<br />
trace(str.match(/^\w*/gm)); // Match a word at the beginning of lines.</p>
<p>This time, the output includes the words at the beginning of both lines:<br />
at index 0 and 21</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/477/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/477/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/477/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=477&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/11/02/regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Spark combobox issue in sdk 4.1.0</title>
		<link>http://guptamukesh.wordpress.com/2011/10/25/spark-combobox-issue-in-sdk-4-1-0/</link>
		<comments>http://guptamukesh.wordpress.com/2011/10/25/spark-combobox-issue-in-sdk-4-1-0/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 10:44:47 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=469</guid>
		<description><![CDATA[&#60;s:ComboBox id=&#8221;myCB&#8221; width=&#8221;140&#8243; color=&#8221;#000000&#8243; requireSelection=&#8221;true&#8221;&#62; &#60;s:dataProvider&#62; &#60;mx:ArrayList&#62; &#60;fx:String&#62;Red&#60;/fx:String&#62; &#60;fx:String&#62;Orange&#60;/fx:String&#62; &#60;fx:String&#62;Yellow&#60;/fx:String&#62; &#60;fx:String&#62;Blue&#60;/fx:String&#62; &#60;fx:String&#62;Green&#60;/fx:String&#62; &#60;/mx:ArrayList&#62; &#60;/s:dataProvider&#62; &#60;/s:ComboBox&#62; Spark combobox shows value corresponding to selected index 4 but does not work with selected index 0 on down/up arrow key in dropdown It is &#8230; <a href="http://guptamukesh.wordpress.com/2011/10/25/spark-combobox-issue-in-sdk-4-1-0/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=469&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="attachment_470" class="wp-caption aligncenter" style="width: 310px"><a href="http://guptamukesh.files.wordpress.com/2011/10/workingpart.jpg"><img class="size-medium wp-image-470   " title="WorkingPart" src="http://guptamukesh.files.wordpress.com/2011/10/workingpart.jpg?w=300&#038;h=160" alt="" width="300" height="160" /></a><p class="wp-caption-text">selected index 4 value shown in prompt textinput on up/down array key in dropdown</p></div>
<p>&lt;s:ComboBox id=&#8221;myCB&#8221; width=&#8221;140&#8243; color=&#8221;#000000&#8243; requireSelection=&#8221;true&#8221;&gt;<br />
&lt;s:dataProvider&gt;<br />
&lt;mx:ArrayList&gt;<br />
&lt;fx:String&gt;Red&lt;/fx:String&gt;<br />
&lt;fx:String&gt;Orange&lt;/fx:String&gt;<br />
&lt;fx:String&gt;Yellow&lt;/fx:String&gt;<br />
&lt;fx:String&gt;Blue&lt;/fx:String&gt;<br />
&lt;fx:String&gt;Green&lt;/fx:String&gt;<br />
&lt;/mx:ArrayList&gt;<br />
&lt;/s:dataProvider&gt;<br />
&lt;/s:ComboBox&gt;</p>
<p>Spark combobox shows value corresponding to selected index 4 but does not work with selected index 0 on down/up arrow key in dropdown</p>
<div id="attachment_471" class="wp-caption aligncenter" style="width: 303px"><a href="http://guptamukesh.files.wordpress.com/2011/10/issuepart.jpg"><img class="size-full wp-image-471 " title="IssuePart" src="http://guptamukesh.files.wordpress.com/2011/10/issuepart.jpg?w=520" alt=""   /></a><p class="wp-caption-text">do not show value for selected index = 0 on down/up arrow key in dropdown</p></div>
<p>It is an issue in Flash builder 4.1.0 sdk and solved in 4.5 sdk.</p>
<p><span style="color:#ffffff;">ComboBox.as</span></p>
<p>override mx_internal function changeHighlightedSelection(newIndex:int, scrollToTop:Boolean = false):void<br />
{<br />
super.changeHighlightedSelection(newIndex, scrollToTop);</p>
<p><span style="color:#ff0000;"> if (newIndex &gt; 0)</span>// new Index is not checked for 0th index<br />
{<br />
var item:Object = dataProvider ? dataProvider.getItemAt(newIndex) : undefined;<br />
if (item)<br />
{<br />
var itemString:String = itemToLabel(item);<br />
textInput.selectAll();<br />
textInput.insertText(itemString);<br />
textInput.selectAll();</p>
<p>userTypedIntoText = false;<br />
}<br />
}<br />
}</p>
<p>In Flash builder 4.5 they solved by changing condition<span style="color:#ff0000;"> if (newIndex &gt;= 0).</span></p>
<p>Found by <span style="color:#ffffff;">Shailesh Kadam</span></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/469/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/469/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/469/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=469&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/10/25/spark-combobox-issue-in-sdk-4-1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>

		<media:content url="http://guptamukesh.files.wordpress.com/2011/10/workingpart.jpg?w=300" medium="image">
			<media:title type="html">WorkingPart</media:title>
		</media:content>

		<media:content url="http://guptamukesh.files.wordpress.com/2011/10/issuepart.jpg" medium="image">
			<media:title type="html">IssuePart</media:title>
		</media:content>
	</item>
		<item>
		<title>Singleton class for Localization in Flex</title>
		<link>http://guptamukesh.wordpress.com/2011/10/19/singleton-class-for-localization-in-flex/</link>
		<comments>http://guptamukesh.wordpress.com/2011/10/19/singleton-class-for-localization-in-flex/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 13:55:24 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=462</guid>
		<description><![CDATA[Default way of using resourceManager resourceManager.getString(bundleName,resourceName,parameters) We have customized way of using resourceManager by using singleton class : ResourceUtil Modified syntax of using ResourceUtil ResourceUtil.string(resourceName,parameters) &#8211; It reduced the code by not using bundleName each time. Find the code below &#8230; <a href="http://guptamukesh.wordpress.com/2011/10/19/singleton-class-for-localization-in-flex/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=462&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Default way of using resourceManager</p>
<p>resourceManager.getString(bundleName,resourceName,parameters)</p>
<p>We have customized way of using resourceManager by using singleton class : ResourceUtil</p>
<p>Modified syntax of using ResourceUtil</p>
<p>ResourceUtil.string(resourceName,parameters)</p>
<p>&#8211; It reduced the code by not using bundleName each time. Find the code below to create singleton class</p>
<p><strong>ResourceUtil.as</strong></p>
<p>public class ResourceUtil<br />
{<br />
public static const DEFAULT_BUNDLE:String = &#8216;ResourceFileName&#8217;;</p>
<p>public static function string(key:String,parameters:Array=null):String<br />
{<br />
return ResourceLoader.instance().getString(DEFAULT_BUNDLE,key,parameters);<br />
}<br />
}</p>
<p><strong>ResourceLoader.as</strong> :</p>
<p>package<br />
{<br />
import flash.events.EventDispatcher;<br />
import flash.events.IEventDispatcher;</p>
<p>import mx.resources.IResourceManager;<br />
import mx.resources.ResourceManager;</p>
<p>[ResourceBundle("ResourceFileName")]<br />
public class ResourceLoader extends EventDispatcher<br />
{<br />
public static const DEFAULT_LOCALE:String=&#8217;en_US&#8217; ;<br />
public static var _instance:ResourceLoader ;<br />
private var _resourceManager:IResourceManager ;</p>
<p>public static function instance():ResourceLoader<br />
{<br />
if(_instance == null)<br />
{<br />
_instance = new ResourceLoader(PrivateSingletonEnforcer);<br />
}</p>
<p>return _instance ;<br />
}</p>
<p>public function ResourceLoader(singletonEnforcer:Class)<br />
{<br />
if(singletonEnforcer!=PrivateSingletonEnforcer)<br />
{<br />
throw new Error(&#8216;ResourceLoader cannot be instantiated directly.&#8217;)<br />
}<br />
_resourceManager = ResourceManager.getInstance();<br />
}</p>
<p>public function getString(bundleName:String,resourceName:String,parameters:Array = null):String<br />
{<br />
var value:String = _resourceManager.getString(bundleName,resourceName,parameters);<br />
if(value == null)<br />
return resourceName ;<br />
else<br />
return value ;<br />
}</p>
<p>}<br />
}</p>
<p>class PrivateSingletonEnforcer<br />
{<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/462/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/462/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/462/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=462&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/10/19/singleton-class-for-localization-in-flex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Spark TabBar with different image as skin for each button</title>
		<link>http://guptamukesh.wordpress.com/2011/10/17/spark-tabbar-with-different-image-as-skin-for-each-button/</link>
		<comments>http://guptamukesh.wordpress.com/2011/10/17/spark-tabbar-with-different-image-as-skin-for-each-button/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 14:43:15 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=459</guid>
		<description><![CDATA[Problem: To show each tab in TabBar with  different images as skin Solution : Spark TabBar with dataprovider &#60;fx:Script&#62; &#60;![CDATA[ import mx.collections.ArrayCollection; [Bindable]private var tabs:ArrayCollection = new ArrayCollection([ {label:'Fabric',imageIcon:'color.png',id:'FABRIC'}, {label:'Design',imageIcon:'design.png',id:'DESIGN'}, {label:'Color Contrast',imageIcon:'fabric.png',id:'COLOR_CONTRAST'}, {label:'Measurement',imageIcon:'measurment.png',id:'MEASUREMENT'} ]); ]]&#62; &#60;/fx:Script&#62; &#60;s:TabBar skinClass=&#8221;TabBarSkin&#8221; dataProvider=&#8221;{tabs}&#8221; height=&#8221;25&#8243; &#8230; <a href="http://guptamukesh.wordpress.com/2011/10/17/spark-tabbar-with-different-image-as-skin-for-each-button/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=459&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem:</p>
<p>To show each tab in TabBar with  different images as skin</p>
<p>Solution :</p>
<p><strong>Spark TabBar with dataprovider</strong></p>
<p>&lt;fx:Script&gt;<br />
&lt;![CDATA[<br />
import mx.collections.ArrayCollection;<br />
[Bindable]private var tabs:ArrayCollection = new ArrayCollection([<br />
{label:'Fabric',imageIcon:'color.png',id:'FABRIC'},<br />
{label:'Design',imageIcon:'design.png',id:'DESIGN'},<br />
{label:'Color Contrast',imageIcon:'fabric.png',id:'COLOR_CONTRAST'},<br />
{label:'Measurement',imageIcon:'measurment.png',id:'MEASUREMENT'}<br />
]);<br />
]]&gt;<br />
&lt;/fx:Script&gt;</p>
<p>&lt;s:TabBar skinClass=&#8221;TabBarSkin&#8221; dataProvider=&#8221;{tabs}&#8221; height=&#8221;25&#8243;<br />
labelField=&#8221;label&#8221;/&gt;</p>
<p>&nbsp;</p>
<p><strong>TabBarSkin.mxml</strong></p>
<p>&lt;s:DataGroup id=&#8221;dataGroup&#8221; width=&#8221;100%&#8221; height=&#8221;100%&#8221;&gt;<br />
&lt;s:layout&gt;<br />
&lt;s:ButtonBarHorizontalLayout gap=&#8221;-1&#8243;/&gt;<br />
&lt;/s:layout&gt;<br />
&lt;s:itemRenderer&gt;<br />
&lt;fx:Component&gt;<br />
&lt;s:ButtonBarButton skinClass=&#8221;IconButtonSkin&#8221; /&gt;<br />
&lt;/fx:Component&gt;<br />
&lt;/s:itemRenderer&gt;<br />
&lt;/s:DataGroup&gt;</p>
<p><strong>IconButtonSkin</strong>:</p>
<p>In script file:</p>
<p>&#8211; create Class type for each image</p>
<p>[Embed(source="measurment.png")]<br />
private var image1:Class;<br />
[Embed(source="color.png")]<br />
private var image2:Class;<br />
[Embed(source="design.png")]<br />
private var image3:Class;<br />
[Embed(source="fabric.png)]<br />
private var image4:Class;<br />
&#8211; Override function  updateDisplayList</p>
<p>override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void<br />
{<br />
super.updateDisplayList(unscaledWidth, unscaledHeight);</p>
<p>var btnId:String = (this as Object).hostComponent.data.id;</p>
<p>var label:String = (this as Object).hostComponent.data.label;<br />
labelDisplay.text = label ;</p>
<p>switch(btnId)<br />
{<br />
case &#8216;FABRIC&#8217;:<br />
icon.source = image1 ;<br />
break;<br />
case &#8216;DESIGN&#8217;:<br />
icon.source = image2 ;<br />
break;<br />
case &#8216;COLOR_CONTRAST&#8217;:<br />
icon.source = image3;<br />
break;<br />
case &#8216;MEASUREMENT&#8217;:<br />
icon.source = image4 ;<br />
break;<br />
}</p>
<p>this.width = this.hostComponent.width;<br />
this.minWidth = this.hostComponent.width;<br />
}</p>
<p>&lt;s:Label id=&#8221;labelDisplay&#8221; visible=&#8221;false&#8221; includeInLayout=&#8221;false&#8221;<br />
textAlign=&#8221;center&#8221;<br />
verticalAlign=&#8221;middle&#8221;<br />
maxDisplayedLines=&#8221;1&#8243;<br />
horizontalCenter=&#8221;0&#8243; verticalCenter=&#8221;1&#8243;<br />
left=&#8221;10&#8243; right=&#8221;10&#8243; top=&#8221;2&#8243; bottom=&#8221;2&#8243;&gt;<br />
&lt;/s:Label&gt;</p>
<p>&lt;s:BitmapImage id=&#8221;icon&#8221; smooth=&#8221;true&#8221; width=&#8221;91&#8243; height=&#8221;101&#8243; visible=&#8221;true&#8221;<br />
/&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/459/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/459/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/459/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=459&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/10/17/spark-tabbar-with-different-image-as-skin-for-each-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Advanceddatagrid with HTML Header Renderer</title>
		<link>http://guptamukesh.wordpress.com/2011/10/04/advanceddatagrid-with-html-header-renderer/</link>
		<comments>http://guptamukesh.wordpress.com/2011/10/04/advanceddatagrid-with-html-header-renderer/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 15:01:23 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=451</guid>
		<description><![CDATA[Problem:  Show header and subheader text in each column of AdvancedDataGrid. Subheader is optional and always  come below mainheader text. for e.g.: Delhi\n(India) Solution: 1) Created custom AdvancedDataGridHeaderRenderer 2) assign it as headerrenderer to AdvancedDataGrid column. 3) provide headertext as &#8230; <a href="http://guptamukesh.wordpress.com/2011/10/04/advanceddatagrid-with-html-header-renderer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=451&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong>:  Show header and subheader text in each column of AdvancedDataGrid. Subheader is optional and always  come below mainheader text. for e.g.: Delhi\n(India)</p>
<p><strong>Solution</strong>:</p>
<p>1) Created custom AdvancedDataGridHeaderRenderer</p>
<p>2) assign it as headerrenderer to AdvancedDataGrid column.</p>
<p>3) provide headertext as &#8216;mainheadertext/nsubheadertext&#8217;. Internally it differentiate text for header and subheader.</p>
<p><strong>HTMLTextADGHeaderRenderer</strong> :</p>
<p><span style="color:#ccffff;"> import flash.display.DisplayObject;</span><br />
<span style="color:#ccffff;">     import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;</span><br />
<span style="color:#ccffff;">     import mx.controls.advancedDataGridClasses.AdvancedDataGridHeaderRenderer;</span><br />
<span style="color:#ccffff;">     import mx.core.UITextField;</span></p>
<p><span style="color:#ccffff;">    public class HTMLTextADGHeaderRenderer extends AdvancedDataGridHeaderRenderer</span><br />
<span style="color:#ccffff;">     {</span><br />
<span style="color:#ccffff;">         private var htmlHeaderText:UITextField;</span></p>
<p><span style="color:#ccffff;">        public function HTMLTextADGHeaderRenderer()</span><br />
<span style="color:#ccffff;">         {</span><br />
<span style="color:#ccffff;">             super();</span><br />
<span style="color:#ccffff;">         }</span></p>
<p><span style="color:#ccffff;">        override protected function createChildren():void</span><br />
<span style="color:#ccffff;">         {</span><br />
<span style="color:#ccffff;">             super.createChildren();</span><br />
<span style="color:#ccffff;">             htmlHeaderText=new UITextField();</span><br />
<span style="color:#ccffff;">             htmlHeaderText.percentWidth=100;</span><br />
<span style="color:#ccffff;">             htmlHeaderText.background=false;</span><br />
<span style="color:#ccffff;">             htmlHeaderText.border=false;</span></p>
<p><span style="color:#ccffff;">            addChild(DisplayObject(htmlHeaderText));</span><br />
<span style="color:#ccffff;">         }</span></p>
<p><span style="color:#ccffff;">        override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void</span><br />
<span style="color:#ccffff;">         {</span><br />
<span style="color:#ccffff;">             super.updateDisplayList(unscaledWidth, unscaledHeight);</span></p>
<p><span style="color:#ccffff;">            htmlHeaderText.htmlText = AdvancedDataGridColumn(this.data).headerText;</span><br />
<span style="color:#ccffff;">             var arr:Array=AdvancedDataGridColumn(this.data).headerText.split(&#8216;\\n&#8217;);</span><br />
<span style="color:#ccffff;">             if (arr.length &gt; 1)</span><br />
<span style="color:#ccffff;">             {</span><br />
<span style="color:#ccffff;">                 htmlHeaderText.htmlText=&#8217;&lt;TEXTFORMAT&gt;&lt;P ALIGN=&#8221;CENTER&#8221;&gt;&#8217; + arr[0] + &#8216;\n&#8217; + arr[1] + &#8216;&lt;/P&gt;&lt;/TEXTFORMAT&gt;&#8217;;</span><br />
<span style="color:#ccffff;">             }</span><br />
<span style="color:#ccffff;">             else</span><br />
<span style="color:#ccffff;">             {</span><br />
<span style="color:#ccffff;">                 htmlHeaderText.htmlText=&#8217;&lt;TEXTFORMAT&gt;&lt;P ALIGN=&#8221;CENTER&#8221;&gt;&#8217; + AdvancedDataGridColumn(this.data).headerText + &#8216;&lt;/P&gt;&lt;/TEXTFORMAT&gt;&#8217;;</span><br />
<span style="color:#ccffff;">             }</span></p>
<p><span style="color:#ccffff;">            htmlHeaderText.width=unscaledWidth &#8211; 5;</span><br />
<span style="color:#ccffff;">             htmlHeaderText.wordWrap=true;</span></p>
<p><span style="color:#ccffff;">            this.label.visible=false;</span><br />
<span style="color:#ccffff;">             this.label.includeInLayout=false;</span></p>
<p><span style="color:#ccffff;">        }</span><br />
<span style="color:#ccffff;">     }</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/451/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=451&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/10/04/advanceddatagrid-with-html-header-renderer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Center tag: keep everything in middle</title>
		<link>http://guptamukesh.wordpress.com/2011/03/12/center-tag-keep-everything-in-middle/</link>
		<comments>http://guptamukesh.wordpress.com/2011/03/12/center-tag-keep-everything-in-middle/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 10:41:10 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex4]]></category>
		<category><![CDATA[Flex_Hack]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=439</guid>
		<description><![CDATA[&#60;html&#62; &#60;body&#62; &#60;center&#62; &#8230; put any content, it will be aligned in the center of browser page &#8230; I think we have to keep content size lesser than browser size to fit into middle &#60;/center&#62; &#60;/body&#62; &#60;/html&#62; &#160; &#160; &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=439&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;html&gt;</p>
<p>&lt;body&gt;</p>
<p><span style="color:#339966;"><strong>&lt;center&gt;</strong></span></p>
<p><span style="color:#339966;"><strong>&#8230; put any content, it will be aligned in the center of browser page</strong></span><br />
<span style="color:#339966;"><strong> &#8230; I think we have to keep content size lesser than browser size</strong></span><br />
<span style="color:#339966;"><strong> to fit into middle</strong></span><br />
<span style="color:#339966;"><strong> &lt;/center&gt;</strong></span></p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/439/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/439/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/439/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=439&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/03/12/center-tag-keep-everything-in-middle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Regular Expression To Strip Off Non-ASCII characters from text..</title>
		<link>http://guptamukesh.wordpress.com/2011/02/19/regular-expression-to-strip-off-non-ascii-characters-from-text/</link>
		<comments>http://guptamukesh.wordpress.com/2011/02/19/regular-expression-to-strip-off-non-ascii-characters-from-text/#comments</comments>
		<pubDate>Sat, 19 Feb 2011 04:41:34 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Archive_Code]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=435</guid>
		<description><![CDATA[By Abhijit Ghatnekar Most websites today provide textareas in the form of editors and people copy + paste text in them from all sorts of text editors. Editors like MS-Word introduce unwanted special characters in the text which go as &#8230; <a href="http://guptamukesh.wordpress.com/2011/02/19/regular-expression-to-strip-off-non-ascii-characters-from-text/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=435&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>By Abhijit Ghatnekar<br />
Most websites today provide textareas in the form of editors and people copy + paste text in them from all sorts of text editors. Editors like MS-Word introduce unwanted special characters in the text which go as well into the back end. It&#8217;s quite flummoxing and intriguing and sometimes the text appears valid but does not bypass the validation mechanisms of the server-side web application. </p>
<p>To Strip these off&#8230; employ the following Regex&#8230;..</p>
<p>$output = preg_replace(&#8216;/[^(\x20-\x7F)]*/&#8217;,&#8221;, $output);</p>
<p>This will strip of all Non-ASCII</p>
<p>This actually is PHP&#8230; but it could be translated into any equivalent web scripting language.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/435/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/435/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/435/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=435&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/02/19/regular-expression-to-strip-off-non-ascii-characters-from-text/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex : Find the URL of the Server / Local file location based on the Application server type</title>
		<link>http://guptamukesh.wordpress.com/2011/01/16/flex-find-the-url-of-the-server-local-file-location-based-on-the-application-server-type/</link>
		<comments>http://guptamukesh.wordpress.com/2011/01/16/flex-find-the-url-of-the-server-local-file-location-based-on-the-application-server-type/#comments</comments>
		<pubDate>Sun, 16 Jan 2011 04:37:31 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Flex4]]></category>
		<category><![CDATA[Flex_Hack]]></category>
		<category><![CDATA[Flex_Training]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=429</guid>
		<description><![CDATA[This code is used to find the URL of the Server / Local file location based on the Application server type (java, php,.. / none). - by Abdul<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=429&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This code is used to find the URL of the Server / Local file location based on the Application server type (java, php,.. / none).</p>
<p><a href="http://guptamukesh.files.wordpress.com/2011/01/fxcode.png"><img src="http://guptamukesh.files.wordpress.com/2011/01/fxcode.png?w=520" alt="" title="FxCode"   class="aligncenter size-full wp-image-431" /></a></p>
<p>- by Abdul</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/429/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/429/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/429/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=429&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2011/01/16/flex-find-the-url-of-the-server-local-file-location-based-on-the-application-server-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>

		<media:content url="http://guptamukesh.files.wordpress.com/2011/01/fxcode.png" medium="image">
			<media:title type="html">FxCode</media:title>
		</media:content>
	</item>
		<item>
		<title>My life&#8217;s principle &amp; corresponding Mentor&#8217;s list</title>
		<link>http://guptamukesh.wordpress.com/2010/12/14/my-lifes-principle-corresponding-mentors-list/</link>
		<comments>http://guptamukesh.wordpress.com/2010/12/14/my-lifes-principle-corresponding-mentors-list/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 15:11:21 +0000</pubDate>
		<dc:creator>kkrish123mg</dc:creator>
				<category><![CDATA[Community]]></category>

		<guid isPermaLink="false">http://guptamukesh.wordpress.com/?p=426</guid>
		<description><![CDATA[A real thanks to all of them for being in my life &#38; contributing something to my life. My life&#8217;s principle &#38; corresponding Mentor&#8217;s list: 1) HardWork : My parents 2) Entrepreneurship: Nirav Mehta(Magnet Technologies,CEO),Rohan Fernandes(Flex Flash Developer),Anand Kumar(Super 30,Patna) &#8230; <a href="http://guptamukesh.wordpress.com/2010/12/14/my-lifes-principle-corresponding-mentors-list/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=426&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A real thanks to all of them for being in my life &amp; contributing something to my life.</p>
<p>My life&#8217;s principle &amp; corresponding Mentor&#8217;s list:<br />
1) HardWork : My parents<br />
2) Entrepreneurship: Nirav Mehta(Magnet Technologies,CEO),Rohan Fernandes(Flex Flash Developer),Anand Kumar(Super 30,Patna)<br />
3) Community : Landmark Education Forum, Anand Kumar<br />
4) Style: My Wife<br />
5) Programming: Anuj Pandey(e10.in),Nirav Mehta, Megha Shah(Flex developer)<br />
6) Business: My Father<br />
7) Computer Hardware: Sonathan Paul(Hardware Engineer)<br />
8) Girls-Interest: Nidhi Singh(Friend), Pramod Shrivastav(QA)<br />
9) Comedy : Raju Shrivastav(comedian)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/guptamukesh.wordpress.com/426/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/guptamukesh.wordpress.com/426/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/guptamukesh.wordpress.com/426/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=guptamukesh.wordpress.com&amp;blog=8002490&amp;post=426&amp;subd=guptamukesh&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://guptamukesh.wordpress.com/2010/12/14/my-lifes-principle-corresponding-mentors-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c6c3cdecd3f24bb57ef5717caae94eb6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kkrish123mg</media:title>
		</media:content>
	</item>
	</channel>
</rss>
