<?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>Kiran&#039;s Blog</title>
	<atom:link href="http://umailkiran.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://umailkiran.wordpress.com</link>
	<description>Flexer</description>
	<lastBuildDate>Mon, 19 Oct 2009 16:21:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='umailkiran.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Kiran&#039;s Blog</title>
		<link>http://umailkiran.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://umailkiran.wordpress.com/osd.xml" title="Kiran&#039;s Blog" />
	<atom:link rel='hub' href='http://umailkiran.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Hello world!</title>
		<link>http://umailkiran.wordpress.com/2009/10/19/hello-world/</link>
		<comments>http://umailkiran.wordpress.com/2009/10/19/hello-world/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 16:21:48 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging! Posted in Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=1&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=1&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/10/19/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex callLater()</title>
		<link>http://umailkiran.wordpress.com/2009/10/15/flex-calllater/</link>
		<comments>http://umailkiran.wordpress.com/2009/10/15/flex-calllater/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 14:26:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/10/15/flex-calllater</guid>
		<description><![CDATA[The other I was working on a Form container. Where in I have few form items and a default button for submit. I was also using validators for validating the fields.The validators are bound to the input fields, so that the &#8216;errorString&#8217; is automatically populated for each input field. I do have submitHandler() to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=21&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The other I was working on a Form container. Where in I have few form items and a default button for submit. I was also using validators for validating the fields.<br />The validators are bound to the input fields, so that the &#8216;errorString&#8217; is automatically populated for each input field. I do have submitHandler() to be triggered when the button is clicked. The order of event execution is not as desired by me. First the custom handler is triggered, next the event in the validators are triggered, which is vice-versa I wanted.</p>
<p>I&#8217;ll put it in code what I mean:
<pre style="width:400px;height:350px;overflow:auto;"><span style="background-color:transparent;color:purple;font-size:95%;">

&lt;mx:Script&gt; //this function triggers after the validations are completed private function onSubmit( p_evt : MouseEvent = null):void {  trace(firstName.errorString);  trace(lastName.errorString); }&lt;/mx:Script&gt;&lt;mx:StringValidator minLength="2" required="true" property="text" trigger="{submitBtn}" triggerEvent="click" source="{firstName}" id="firstNameValidator" /&gt;&lt;mx:StringValidator minLength="2" required="true" property="text" trigger="{submitBtn}" triggerEvent="click" source="{lastName}"/&gt;

&lt;mx:Form width="100%" height="100%" paddingLeft="5" paddingRight="5" id="form" defaultButton="{submitBtn}"&gt;

 &lt;mx:FormItem label="First Name*"&gt;     &lt;mx:TextInput width="115" editable="true" color="0x000000" id="firstName" styleName="formInput" /&gt; &lt;/mx:FormItem&gt;

 &lt;mx:FormItem label="Last Name*"&gt;     &lt;mx:TextInput width="115" color="0x000000" id="lastName" styleName="formInput"/&gt; &lt;/mx:FormItem&gt;

 &lt;mx:FormItem label="Last Name*"&gt;  &lt;mx:Button click="callLater(onSubmit);" buttonMode="true" id="submitBtn" /&gt; &lt;/mx:FormItem&gt;&lt;/mx:Form&gt;</span></pre>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=21&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/10/15/flex-calllater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Combobox styles</title>
		<link>http://umailkiran.wordpress.com/2009/10/15/flex-combobox-styles/</link>
		<comments>http://umailkiran.wordpress.com/2009/10/15/flex-combobox-styles/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 10:51:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/10/15/flex-combobox-styles</guid>
		<description><![CDATA[Setting styles to combobox is not just as simple as assigning a &#8216;styleName&#8217; property.The style doesn&#8217;t apply that easily to the &#8216;prompt&#8217; text. By default the font weight is bold and it screws up if the font specified in the styles doesn&#8217;t have a bold face. Ideally, it can be like this:ComboBox {cornerRadius: 0;fillAlphas: 1, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=20&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Setting styles to combobox is not just as simple as assigning a &#8216;styleName&#8217; property.<br />The style doesn&#8217;t apply that easily to the &#8216;prompt&#8217; text. By default the font weight is bold and it screws up if the font specified in the styles doesn&#8217;t have a bold face.</p>
<p>Ideally, it can be like this:<br />ComboBox {<br />cornerRadius: 0;<br />fillAlphas: 1, 1, 1, 1;<br />fillColors: #ffffff, #ffffff, #ffffff, #eeeeee;<br />font-family: Avangmb;<br />font-size: 11;<br />dropdownStyleName: comboBoxDropdownStyles;<br />}</p>
<p>.comboBoxDropdownStyles {<br />fontFamily: AVGARDM;<br />fontWeight: normal;<br />}</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=20&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/10/15/flex-combobox-styles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>org chart source code</title>
		<link>http://umailkiran.wordpress.com/2009/09/30/org-chart-source-code/</link>
		<comments>http://umailkiran.wordpress.com/2009/09/30/org-chart-source-code/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 21:09:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[org chart source code flex]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/09/30/org-chart-source-code</guid>
		<description><![CDATA[org chart source code Posted in org chart source code flex<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=19&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>org chart source code</p>
<br />Posted in org chart source code flex  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=19&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/09/30/org-chart-source-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>updateDisplayList</title>
		<link>http://umailkiran.wordpress.com/2009/09/30/updatedisplaylist/</link>
		<comments>http://umailkiran.wordpress.com/2009/09/30/updatedisplaylist/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 14:25:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/09/30/updatedisplaylist</guid>
		<description><![CDATA[Flex again proved to be a strange/weird technology for its instable behaviour. Never try to override the updateDisplayList() of Application container.When you override this method, the percentWidth/percentHeight properties doesn&#8217;t work properly. I was trying to use the graphics object for some background and this enforces the percentWidth/percentHeight not to work properly. There are two case [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=18&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Flex again proved to be a strange/weird technology for its instable behaviour.</p>
<p>Never try to override the updateDisplayList() of Application container.<br />When you override this method, the percentWidth/percentHeight properties doesn&#8217;t work properly. I was trying to use the graphics object for some background and this enforces the percentWidth/percentHeight not to work properly.</p>
<p>There are two case scenarios:<br />1) When you don&#8217;t call the super()</p>
<p>override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void<br />   {<br />    super.updateDisplayList(unscaledWidth, unscaledHeight );<br />    this.graphics.lineStyle(1, 0xE51745 );<br />    this.graphics.beginFill(0&#215;341264);<br />    this.graphics.drawRect(0,0, 32, unscaledHeight);<br />    this.graphics.endFill();</p>
<p>    this.graphics.beginFill(0xE51745);<br />    this.graphics.drawRect(32,0, unscaledWidth, unscaledHeight);<br />    this.graphics.endFill();<br />   }</p>
<p>In this instance, the graphics object doesn&#8217;t draw anything.</p>
<p>2) When super() is not called:<br />override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void<br />   {</p>
<p>    this.graphics.lineStyle(1, 0xE51745 );<br />    this.graphics.beginFill(0&#215;341264);<br />    this.graphics.drawRect(0,0, 32, unscaledHeight);<br />    this.graphics.endFill();</p>
<p>    this.graphics.beginFill(0xE51745);<br />    this.graphics.drawRect(32,0, unscaledWidth, unscaledHeight);<br />    this.graphics.endFill();<br />   }</p>
<p>In this instance, the graphics object draws the background but the percentWidth/percentHeight fails, ofcourse, for apparent reasons.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=18&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/09/30/updatedisplaylist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Library SWC and AS Doc generation &#8211; Tips &amp; Tricks</title>
		<link>http://umailkiran.wordpress.com/2009/08/25/flex-library-swc-and-as-doc-generation-tips-tricks/</link>
		<comments>http://umailkiran.wordpress.com/2009/08/25/flex-library-swc-and-as-doc-generation-tips-tricks/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 08:17:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[AS Doc Generation with Ant]]></category>
		<category><![CDATA[Flex Library SWC]]></category>
		<category><![CDATA[Tips  Tricks]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/08/25/flex-library-swc-and-as-doc-generation-tips-tricks</guid>
		<description><![CDATA[This is just an addition to the already many existing tips on the web. These are few tips that helped me get resolved some of ASDoc errors. 1) CSS – All the paths to images/swf/external assets should be resolved to absolute. Relative paths are recognised by the asdoc/compc tools.2) build.xml spaces – Sometimes the spaces [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=17&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is just an addition to the already many existing tips on the web.  These are few tips that helped me get resolved some of ASDoc errors.</p>
<p>1) CSS – All the paths to images/swf/external assets should be resolved to absolute. Relative paths are recognised by the asdoc/compc tools.<br />2) build.xml spaces – Sometimes the spaces in the file paths are not resolved; enclose them in quotes.<br />3) external-library-path – To give you understanding, whatever libraries referenced here are excluded from compiling into swf/asdoc/swc.<br />4) When creating a library SWC ensure to mention source-path argument, all the files you are referencing should be in the source path. Else the external assets are recognised by the compc.</p>
<br />Posted in AS Doc Generation with Ant, Flex Library SWC, Tips  Tricks  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=17&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/08/25/flex-library-swc-and-as-doc-generation-tips-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>AS Doc Generation with Ant</title>
		<link>http://umailkiran.wordpress.com/2009/08/21/as-doc-generation-with-ant/</link>
		<comments>http://umailkiran.wordpress.com/2009/08/21/as-doc-generation-with-ant/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:26:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[AS Doc Generation with Ant]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/08/21/as-doc-generation-with-ant</guid>
		<description><![CDATA[Ant has become my favourite tool again after started using it in flex. I remember using while I was working on java stuff. Now I start to compile my flex apps and libraries with Ant, though I use Flex builder. I just ignore the flex builder problems/errors and look up for the Ant tasks console. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=16&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;     Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4                                                   &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                &lt;![endif]--> <!--  /* Font Definitions */  @font-face 	{font-family:"Cambria Math"; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0cm; 	margin-right:0cm; 	margin-bottom:10.0pt; 	margin-left:0cm; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-fareast-font-family:Calibri; 	mso-bidi-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{mso-style-priority:99; 	color:blue; 	mso-themecolor:hyperlink; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	font-size:10.0pt; 	mso-ansi-font-size:10.0pt; 	mso-bidi-font-size:10.0pt; 	mso-ascii-font-family:Calibri; 	mso-fareast-font-family:Calibri; 	mso-hansi-font-family:Calibri;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 72.0pt 72.0pt 72.0pt; 	mso-header-margin:35.4pt; 	mso-footer-margin:35.4pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1340044431; 	mso-list-type:hybrid; 	mso-list-template-ids:145794610 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 	{mso-level-text:"%1\)"; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-18.0pt;} @list l0:level2 	{mso-level-number-format:alpha-lower; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-18.0pt;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --> <!--[if gte mso 10]&gt;   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Calibri","sans-serif";}  &lt;![endif]--><span lang="EN-GB">Ant has become my favourite tool again after started using it in flex. I remember using while I was working on java stuff. Now I start to compile my flex apps and libraries with Ant, though I use Flex builder. I just ignore the flex builder problems/errors and look up for the Ant tasks console. Because,<span>  </span>flex builder can ignore few errors/warnings out of the project scope. Compiling with Ant/command-line is stricter and helps your code keep clean. Here I am going to describe primarily about how to generate AS docs for a flex project, it can be a library project as well. Though, I focus on the Ant build tool, pretty much the commands can be used on the command-line compiler also.</span>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>1)<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">      </span></span></span><!--[endif]--><span lang="EN-GB">Install ANT in your flex builder. If you are not sure how to install, follow this link.<span>   </span><a href="http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html">http://www.adobe.com/devnet/flex/articles/flex_ant_pt1.html</a></span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB"><a href="http://www.adobe.com/devnet/flex/articles/flex_ant_pt2.html">http://www.adobe.com/devnet/flex/articles/flex_ant_pt2.html</a><span>    </span>I recommend you to go through both the parts of the tutorial as it contains valuable information as how to install ANT and get started.</span></p>
<p class="MsoNormal" style="margin-left:36pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>2)<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">      </span></span></span><!--[endif]--><span lang="EN-GB">If you are ready with ANT, you should be having two file in the root directory of your project.<span>    </span></span></p>
<p class="MsoNormal" style="margin-left:72pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>a.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">       </span></span></span><!--[endif]--><span lang="EN-GB">build.xml</span></p>
<p class="MsoNormal" style="margin-left:72pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>b.<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">      </span></span></span><!--[endif]--><span lang="EN-GB">build.properties</span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB">My build.properties file typically looks like this:</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># change this to your Flex SDK directory path</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">FLEX_HOME=</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">C</span><span style="font-size:10pt;font-family:&quot;color:black;">:</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">/Program</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">Files/Adobe/Flex</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">Builder</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">3/sdks/3.3.0</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># defines the Flex framework files location</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">FLEX_FRAMEWORK = </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${FLEX_HOME}/frameworks/libs</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># this points to your project&#8217;s src directory</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># {$basedir} is a default variable that can be used in any Ant script</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># and it points to the project&#8217;s root folder [ Flex_Ant_Tasks ] in this case</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">SRC_DIR =</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${basedir}/src</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># points to the project&#8217;s libs directory</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">LIBS_DIR =</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${basedir}/libs</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># this is the folder we want to publish the swf to</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">DEPLOY_DIR = </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${basedir}/bin-release</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);">#this property defines the doc directory, which will store your created ASDocs later in the article</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">DOC_DIR =</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${basedir}/asdocs</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># defines the title for your ASDoc pages</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">DOC_TITLE =</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">&#8220;Project Documentation&#8221;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># defines the footer for your ASDoc pages</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">DOC_FOOTER = </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">&#8220;Copyright©</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">2009&#8243;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># points to your asdoc.exe for ASDoc creation later</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">asdoc.exe =</span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${FLEX_HOME}/bin/asdoc.exe</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB">Note this <span> </span>parameter in your build.properties file for storing your AS doc.: </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt 36pt;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);">#this property defines the doc directory, which will store your created ASDocs later in the article</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt 36pt;"><span style="font-size:10pt;font-family:&quot;color:black;">DOC_DIR = </span><span style="font-size:10pt;font-family:&quot;color:rgb(42,0,255);">${basedir}/asdocs</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>3)<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">      </span></span></span><!--[endif]--><span lang="EN-GB">Now in your build.xml , <span> </span>add this bit to ensure that you delete the existing directory and create a new directory for AS docs:</span></p>
<p class="MsoNormal" style="text-indent:36pt;line-height:normal;margin:0 0 .0001pt 36pt;"><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;target</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">name=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;Create AS Doc DIR&#8221;</span><span style="font-size:10pt;font-family:&quot;color:navy;">&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span><span>      </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;delete</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">dir=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;${DOC_DIR}&#8221;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>      </span><span>            </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;mkdir</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">dir=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;${DOC_DIR}&#8221;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;color:black;"><span> </span></span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:black;"><span>      </span></span><span style="font-size:10pt;line-height:115%;font-family:&quot;color:navy;">&lt;/target&gt;</span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:navy;"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:navy;"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-left:36pt;text-indent:-18pt;"><!--[if !supportLists]--><span lang="EN-GB"><span>4)<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;">      </span></span></span><!--[endif]--><span lang="EN-GB">Here comes the main bit code for AS doc generation:</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span lang="EN-GB"><span>          </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;target</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">name=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;Create AS Docs&#8221;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">depends=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;Create AS Doc DIR&#8221;</span><span style="font-size:10pt;font-family:&quot;color:navy;">&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;exec</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">executable=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;${asdoc.exe}&#8221;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">failonerror=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8220;false&#8221;</span><span style="font-size:10pt;font-family:&quot;color:navy;">&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-source-path ${SRC_DIR}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-external-library-path ${LIBS_DIR}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-doc-classes MyFrameworkClasses&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span>&lt;</span><span style="font-size:10pt;font-family:&quot;color:navy;">arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-warn-level-not-supported=false&#8217;</span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-main-title ${DOC_TITLE}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-window-title ${DOC_TITLE}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-footer ${DOC_FOOTER}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-output ${DOC_DIR}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-strict=false&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;/exec&gt;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-left:36pt;"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:navy;">&lt;/target&gt;</span><span lang="EN-GB"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span lang="EN-GB"><span>   </span>The &lt;exec&gt; sets the asdoc.exe file to run AS doc engine from the flex builder directory. This token should have been initialized in the build.properties file. Look into the build.properties file, if not it should be like this: </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,127,95);"># points to your asdoc.exe for ASDoc creation later</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal"><span style="font-size:10pt;line-height:115%;font-family:&quot;color:black;">asdoc.exe =</span><span style="font-size:10pt;line-height:115%;font-family:&quot;color:rgb(42,0,255);">${FLEX_HOME}/bin/asdoc.exe</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-source-path ${SRC_DIR}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt; &#8211; Set the source-path with src directory of your project</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-external-library-path ${LIBS_DIR}&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt; &#8211; This is where you set all your external libraries, which are compiled into SWC. AS Docs are not generated for these libraries.</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:navy;">&lt;arg</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">line=</span><span style="font-size:10pt;font-family:&quot;color:green;">&#8216;-doc-classes MyProjectClasses&#8217;</span><span style="font-size:10pt;font-family:&quot;color:black;"> </span><span style="font-size:10pt;font-family:&quot;color:navy;">/&gt; -(There’s also an alternative command to achieve this.) This line implies which classes should you generate AS doc for. This is the trickier bit and this is how Adobe compiles the framework classes. </span><span style="font-size:10pt;font-family:&quot;color:green;">MyProjectClasses.as file is a dummy class that stores the references for the classes you want to generate. It can be something like this:</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;">/**</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;">* It is a good practice to maintain this class at the root of src directory.</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;">* MyProjectClasses.as</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;">*</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:green;">*/</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><b><span style="font-size:10pt;font-family:&quot;color:rgb(153,0,204);">package</span></b><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">{</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>      </span></span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>      </span></span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,95,191);">/**</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,95,191);"><span> </span>*<span>  </span>@private</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:rgb(63,95,191);">*/</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>      </span></span><b><span style="font-size:10pt;font-family:&quot;color:rgb(0,51,255);">internal</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> </span><b><span style="font-size:10pt;font-family:&quot;color:rgb(153,0,204);">class</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> IBFrameworkClasses</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>      </span>{</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><b><span style="font-size:10pt;font-family:&quot;color:rgb(0,51,255);">import</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> com.classA; classA;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><b><span style="font-size:10pt;font-family:&quot;color:rgb(0,51,255);">import</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> com.classB; classB;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><b><span style="font-size:10pt;font-family:&quot;color:rgb(0,51,255);">import</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> com.classC; classC;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>            </span></span><b><span style="font-size:10pt;font-family:&quot;color:rgb(0,51,255);">import</span></b><span style="font-size:10pt;font-family:&quot;color:black;"> com.classD; classD;</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"><span>                  </span></span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;text-indent:36pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">}</span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;"> </span></p>
<p class="MsoNormal" style="margin-bottom:.0001pt;line-height:normal;"><span style="font-size:10pt;font-family:&quot;color:black;">Specify, all of your classes you want to document here. This seems to be frightening task, but I suggest this approach as it is a onetime task and really helps you maintain all your classes.</span><span style="font-size:10pt;font-family:&quot;"></span></p>
<p class="MsoNormal"><span lang="EN-GB">Ok, you are not comfortable!! Take this approach&#8230;</span></p>
<p class="MsoNormal">&lt;arg line=&#8217;-doc-sources <span> </span>${SRC_DIR}&#8217; /&gt; &#8211; This command is simple and straight forward, it documents all the classes in the src directory. I know that is what you want!!! In this approach, ensure that all the class libraries are supplies in SWC format, else you would run into creating documentation for all n number of classes.<span lang="EN-GB"></span></p>
<p class="MsoNormal"><span lang="EN-GB"> </span></p>
<p class="MsoNormal"><span lang="EN-GB">Next few commands should be pretty straight forward, labelling the documentation and storing the AS docs in the DOC_DIR.</span></p>
<br />Posted in AS Doc Generation with Ant  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=16&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/08/21/as-doc-generation-with-ant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Layout Techniques &#8211; Part II</title>
		<link>http://umailkiran.wordpress.com/2009/07/29/flex-layout-techniques-part-ii/</link>
		<comments>http://umailkiran.wordpress.com/2009/07/29/flex-layout-techniques-part-ii/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 16:03:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/07/29/flex-layout-techniques-part-ii</guid>
		<description><![CDATA[I am going to give you an important tip, for people who are new Flex/Flash Technology. The scaleX and scaleY properites can take negative values as well&#8230; //draw a boxvar box:Sprite = new Sprite();box.graphics.beginFill(0&#215;000000);box.graphics.drawRect(0,0,50,50);box.graphics.endfil(); // reverses the box in the vertical directionbox.scaleY = -1; // reverses the box in the horizontal directionbox.scaleX = -1; Posted [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=15&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am going to give you an important tip, for people who are new Flex/Flash Technology.</p>
<p>The scaleX and scaleY properites can take negative values as well&#8230;</p>
<p>//draw a box<br />var box:Sprite = new Sprite();<br />box.graphics.beginFill(0&#215;000000);<br />box.graphics.drawRect(0,0,50,50);<br />box.graphics.endfil();</p>
<p>// reverses the box in the vertical direction<br />box.scaleY = -1;</p>
<p>// reverses the box in the horizontal direction<br />box.scaleX = -1;</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=15&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/07/29/flex-layout-techniques-part-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Something hidden about the Container</title>
		<link>http://umailkiran.wordpress.com/2009/05/26/something-hidden-about-the-container/</link>
		<comments>http://umailkiran.wordpress.com/2009/05/26/something-hidden-about-the-container/#comments</comments>
		<pubDate>Tue, 26 May 2009 08:32:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/05/26/something-hidden-about-the-container</guid>
		<description><![CDATA[Although at the level of a Flash DisplayObjectContainer, all children are equal, in a Flex Container some children are &#8220;more equal than others&#8221;. (George Orwell, &#8220;Animal Farm&#8221;) In particular, Flex distinguishes between content children and non-content (or &#8220;chrome&#8221;) children. Content children are the kind that can be specified in MXML. If you put several controls [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=14&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Although at the level of a Flash DisplayObjectContainer, all<br />        children are equal, in a Flex Container some children are &#8220;more<br />        equal than others&#8221;. (George Orwell, &#8220;Animal Farm&#8221;)</p>
<p>        In particular, Flex distinguishes between content children and<br />        non-content (or &#8220;chrome&#8221;) children. Content children are the kind<br />        that can be specified in MXML. If you put several controls<br />        into a VBox, those are its content children. Non-content children<br />        are the other ones that you get automatically, such as a<br />        background/border, scrollbars, the titlebar of a Panel,<br />        AccordionHeaders, etc.</p>
<p>        Most application developers are uninterested in non-content children,<br />        so Container overrides APIs such as numChildren and getChildAt()<br />        to deal only with content children. For example, Container, keeps<br />        its own _numChildren counter.</p>
<p>        Container assumes that content children are contiguous, and that<br />        non-content children come before or after the content children.<br />        In order words, Container partitions DisplayObjectContainer&#8217;s<br />        index range into three parts:</p>
<p>        A B C D E F G H I<br />        0 1 2 3 4 5 6 7 8    &lt;- index for all children<br />              0 1 2 3        &lt;- index for content children</p>
<p>        The content partition contains the content children D E F G.<br />        The pre-content partition contains the non-content children<br />        A B C that always stay before the content children.<br />        The post-content partition contains the non-content children<br />        H I that always stay after the content children.</p>
<p>        Container maintains two state variables, _firstChildIndex<br />        and _numChildren, which keep track of the partitioning.<br />        In this example, _firstChildIndex would be 3 and _numChildren<br />        would be 4.</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=14&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/05/26/something-hidden-about-the-container/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
		<item>
		<title>Flex Layout Techniques &#8211; Part I</title>
		<link>http://umailkiran.wordpress.com/2009/05/07/flex-layout-techniques-part-i/</link>
		<comments>http://umailkiran.wordpress.com/2009/05/07/flex-layout-techniques-part-i/#comments</comments>
		<pubDate>Thu, 07 May 2009 10:13:00 +0000</pubDate>
		<dc:creator>umailkiran</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://umailkiran.wordpress.com/2009/05/07/flex-layout-techniques-part-i</guid>
		<description><![CDATA[From now on I am going add some Flex Layout techniques, with code samples. 1) If you have HBox of some width and wanted to align two controls at each end. &#60;mx:HBox width=&#8221;500&#8243;&#62; &#60;mx:Button label=&#8221;Left Button&#8221;/&#62; &#60;mx:Spacer width=&#8221;100%&#8221;/&#62; &#60;mx:Button label=&#8221;Right Button&#8221;/&#62; &#60;/mx:HBox&#62; This will align the first button to the left and the second button [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=13&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From now on I am going add some Flex Layout techniques, with code samples.</p>
<p>1) If you have HBox of some width and wanted to align two controls at each end.</p>
<p>  &lt;mx:HBox width=&#8221;500&#8243;&gt;<br />           &lt;mx:Button label=&#8221;Left Button&#8221;/&gt;<br />    &lt;mx:Spacer width=&#8221;100%&#8221;/&gt;<br />    &lt;mx:Button label=&#8221;Right Button&#8221;/&gt;<br />   &lt;/mx:HBox&gt;</p>
<p>This will align the first button to the left and the second button to the right. There&#8217;s nothing special about the Spacer, it just extends the UIComponent. It&#8217;s just a coding trick.</p>
<p>2) If you have Canvas of width and height, how would you align a control to the bottom-right corner. Ofcourse, you can do so by setting the x and y values, which is not the best practice.<br />If the canvas width and height is dynamic, the x and y values could fail.</p>
<p>  &lt;mx:Canvas width=&#8221;500&#8243; height=&#8221;800&#8243;&gt;<br />           &lt;mx:Image source=&#8221;someImage.jpg&#8221; width=&#8221;100&#8243; height=&#8221;100&#8243; bottom=&#8221;10&#8243;                            right=&#8221;10&#8243;/&gt;<br />  &lt;/mx:Canvas&gt;</p>
<p>     The Image is now set to the bottom-right corner with a padding of 10px on it&#8217;s sides.<br />That&#8217;s simple.. innne&#8230;</p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/umailkiran.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/umailkiran.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/umailkiran.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=umailkiran.wordpress.com&amp;blog=10013588&amp;post=13&amp;subd=umailkiran&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://umailkiran.wordpress.com/2009/05/07/flex-layout-techniques-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/501ae9bd83096f011d84ab9a8fa8e21b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">umailkiran</media:title>
		</media:content>
	</item>
	</channel>
</rss>
