<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tushar Wadekar</title>
	<atom:link href="http://tush.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tush.wordpress.com</link>
	<description>My blog on Flash, Flex, eLearning</description>
	<lastBuildDate>Thu, 20 Nov 2008 18:39:03 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='tush.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/537abea34cb94fd554b166133418ba92?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Tushar Wadekar</title>
		<link>http://tush.wordpress.com</link>
	</image>
			<item>
		<title>Flex 3 Auto-Resize TextInput Control? How?</title>
		<link>http://tush.wordpress.com/2008/11/20/flex-3-auto-resize-textinput-control-how/</link>
		<comments>http://tush.wordpress.com/2008/11/20/flex-3-auto-resize-textinput-control-how/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 18:39:03 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[components]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/?p=83</guid>
		<description><![CDATA[Here is a quick solution to add Auto-Size functionality to TextInput control in Flex 3.
AutoSizeTextInput.class

package com.tushar.controls {

	import flash.events.Event;
	import mx.controls.TextInput;

	public class AutoSizeTextInput extends TextInput {

		private var txtSpan:uint = 10;

		public function AutoSizeTextInput() {
			super();
			this.addEventListener(Event.CHANGE, onTextChange);
		}

		private function onTextChange(evnt:Event):void {
			this.textField.scrollH = 0;
			this.width = this.autoSizeWidth;
		}

		override protected function commitProperties():void {
			super.commitProperties();
			this.textField.scrollH = 0;
			this.width = this.autoSizeWidth;
		}

		private function get autoSizeWidth():uint {
			return (this.textWidth+txtSpan);
		}
	}
}

Usage in MXML:

&#60;?xml version=&#34;1.0&#34; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=83&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2008/11/20/flex-3-auto-resize-textinput-control-how/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>AS3 FlexNativeMenu and dataprovider</title>
		<link>http://tush.wordpress.com/2008/11/04/as3-flexnativemenu-and-dataprovider/</link>
		<comments>http://tush.wordpress.com/2008/11/04/as3-flexnativemenu-and-dataprovider/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 05:30:39 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/?p=72</guid>
		<description><![CDATA[Yesterday I faced an issue with FlexNativeMenu (popup menu) and its dataprovider. Looks like, FlexNativeMenu does not recognize the changes made to dataprovider.
Situation: I was wanted to disable the menu item based on the Label (clicking which I am showing the FlexNativeMenu as a Popup menu).
So, before showing the menu (FlexNativeMenu.display) I tried to update [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=72&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2008/11/04/as3-flexnativemenu-and-dataprovider/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex &#8211; Double Click to edit functionality for List Control</title>
		<link>http://tush.wordpress.com/2008/10/06/flex-double-click-to-edit-functionality-for-list-control/</link>
		<comments>http://tush.wordpress.com/2008/10/06/flex-double-click-to-edit-functionality-for-list-control/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 18:37:19 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[components]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/?p=49</guid>
		<description><![CDATA[When for a list control the property editable is set to true, one can click  on the item and rename the label or edit the item if an item editor is set. Here  is a work around if you wish to enable editing only on double-click:

&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34; layout=&#34;vertical&#34; creationComplete=&#34;init();&#34;&#62;

&#60;mx:Script&#62;
&#60;![CDATA[

import mx.events.ListEvent;
import mx.core.EventPriority;

private [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=49&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2008/10/06/flex-double-click-to-edit-functionality-for-list-control/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>MXML ActionScript Classes</title>
		<link>http://tush.wordpress.com/2008/05/21/mxml-actionscript-classes/</link>
		<comments>http://tush.wordpress.com/2008/05/21/mxml-actionscript-classes/#comments</comments>
		<pubDate>Wed, 21 May 2008 21:04:09 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MXML]]></category>
		<category><![CDATA[Flex Compiler Arguments]]></category>
		<category><![CDATA[MXML Classes]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/?p=44</guid>
		<description><![CDATA[As you know, all MXML files are converted to ActionScript Classes which are later compiled in SWF file. If you want to view / study these automatically generated classes, you can use Compiler Argument -keep-generated-actionscript in Flex Builder Project.
In Flex Builder navigate to Project &#62; Properties &#62; Flex Compiler &#62; Additional compiler arguments and add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=44&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2008/05/21/mxml-actionscript-classes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex – Image Navigator Example</title>
		<link>http://tush.wordpress.com/2008/05/15/flex-%e2%80%93-image-navigator-example/</link>
		<comments>http://tush.wordpress.com/2008/05/15/flex-%e2%80%93-image-navigator-example/#comments</comments>
		<pubDate>Thu, 15 May 2008 19:00:47 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[components]]></category>
		<category><![CDATA[Image scroll]]></category>
		<category><![CDATA[Minimap]]></category>
		<category><![CDATA[Navigator]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/?p=42</guid>
		<description><![CDATA[
Here is a small example of creating an Image Navigator for big images in Flex.
The big image is loaded in Canvas and an Image navigator will have a small prototype of this image. A small rectangle in Navigator can be used to scroll image. Click and drag small rectangle to scroll image. This rectangle corresponds [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=42&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2008/05/15/flex-%e2%80%93-image-navigator-example/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>

		<media:content url="http://tush.files.wordpress.com/2008/05/imagenavigator.jpg?w=300" medium="image">
			<media:title type="html">Image Navigator</media:title>
		</media:content>
	</item>
		<item>
		<title>ActionScript 3: Using URLLoader to send and load server variables</title>
		<link>http://tush.wordpress.com/2007/07/20/actionscript-3-using-urlloader-to-send-and-load-server-variables/</link>
		<comments>http://tush.wordpress.com/2007/07/20/actionscript-3-using-urlloader-to-send-and-load-server-variables/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 10:03:08 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Flash CS3]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[MySql]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/2007/07/20/actionscript-3-using-urlloader-to-send-and-load-server-variables/</guid>
		<description><![CDATA[Here is a very simple example of two way communication with database using Flex and PHP. In this example, we are sending username and password to the PHP file from Flex. PHP file then validates the input and returns the appropriate response.
This example also demonstrates the simple PHP script to establish a database (MySQL) connection [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=39&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2007/07/20/actionscript-3-using-urlloader-to-send-and-load-server-variables/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>ActionScript 3: Creating custom event handlers using EventDispatcher</title>
		<link>http://tush.wordpress.com/2007/07/09/actionscript-3-creating-custom-event-handlers-using-eventdispatcher/</link>
		<comments>http://tush.wordpress.com/2007/07/09/actionscript-3-creating-custom-event-handlers-using-eventdispatcher/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 15:32:17 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash CS3]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/2007/07/09/actionscript-3-creating-custom-event-handlers-using-eventdispatcher/</guid>
		<description><![CDATA[Creating custom event handlers in ActionScript 3 is pretty much simple. Here is a simple example which loads an image and fires a custom event named &#8220;onImageLoad&#8221; as soon as image is loaded.
Class imageLoader.as

package {
import flash.events.*;
import flash.net.URLRequest;
import flash.display.Loader;
import flash.display.Sprite;
public class imageLoader extends EventDispatcher {
private var _mc:Sprite;
private var url:String;
private var loader:Loader;
public function imageLoader(_mc:Sprite, url:String) {
this._mc = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=38&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2007/07/09/actionscript-3-creating-custom-event-handlers-using-eventdispatcher/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
		<item>
		<title>ActionScript 3: Serializing Classes using registerClassAlias</title>
		<link>http://tush.wordpress.com/2007/07/08/actionscript-3-serializing-classes-using-registerclassalias/</link>
		<comments>http://tush.wordpress.com/2007/07/08/actionscript-3-serializing-classes-using-registerclassalias/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 18:20:21 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[components]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/2007/07/08/actionscript-3-serializing-classes-using-registerclassalias/</guid>
		<description><![CDATA[In previous article “Component and SharedObject Example” we’ve seen how to store simple variables in Local Shared Object. But, what if you want to store a custom class objects in Shared Object?
You can use flash.net. registerClassAlias() to do so. This method is similar to old Object.registerClass() (Removed in AS3).
Shared Objects are stored in AMF (Action [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=35&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2007/07/08/actionscript-3-serializing-classes-using-registerclassalias/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>

		<media:content url="http://tush.files.wordpress.com/2007/07/so1.thumbnail.jpg" medium="image">
			<media:title type="html">AS3 Serializing example image</media:title>
		</media:content>
	</item>
		<item>
		<title>Action Script 3: Component and SharedObject Example</title>
		<link>http://tush.wordpress.com/2007/07/05/action-script-3-component-and-sharedobject-example/</link>
		<comments>http://tush.wordpress.com/2007/07/05/action-script-3-component-and-sharedobject-example/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 17:46:35 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/2007/07/05/action-script-3-component-and-sharedobject-example/</guid>
		<description><![CDATA[Here is a simple tutorial on using prebuilt AS3 components and SharedObject.

Class soExample:

package {
import fl.controls.Button;
import fl.controls.Label;
import fl.controls.TextInput;

import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.net.SharedObject;

public class soExample extends Sprite {
private var getData_btn:Button;
private var setData_btn:Button;
private var delData_btn:Button;
private var titleLbl:Label;
private var statLbl:Label;
private var soText:TextInput;
private var _mc:Sprite;
private var mySO:SharedObject;

public function soExample(_mc:Sprite) {
this._mc = _mc;
updateUI();
updateDisplay();
getSO();
}
private function updateUI():void {
getData_btn = createButton(getData_btn, &#34;Get Shared Object&#34;, 150, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=34&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2007/07/05/action-script-3-component-and-sharedobject-example/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>

		<media:content url="http://tush.files.wordpress.com/2007/07/so_example.thumbnail.jpg" medium="image">
			<media:title type="html">SharedObject Example</media:title>
		</media:content>
	</item>
		<item>
		<title>Action Script 3: Resize SWF on Browser resize</title>
		<link>http://tush.wordpress.com/2007/06/25/action-script-3-resize-swf-on-browser-resize/</link>
		<comments>http://tush.wordpress.com/2007/06/25/action-script-3-resize-swf-on-browser-resize/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 15:45:46 +0000</pubDate>
		<dc:creator>Tushar</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://tush.wordpress.com/2007/06/25/action-script-3-resize-swf-on-browser-resize/</guid>
		<description><![CDATA[ 
Accessing Stage object was pretty simple in previous versions of Action Script. However, it’s little different in Action Script 3. Sprits (movie clip) have property named stage (notice small “s”). One can use this property to access the Stage Object and respond to the Stage object’s Resize event.
Here is the AS3 code to resize SWF [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tush.wordpress.com&blog=120355&post=32&subd=tush&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://tush.wordpress.com/2007/06/25/action-script-3-resize-swf-on-browser-resize/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">tush</media:title>
		</media:content>
	</item>
	</channel>
</rss>