<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JabbyPanda’s travel to RIA world &#187; Adobe Flex 4</title>
	<atom:link href="http://www.jabbypanda.com/blog/category/adobe-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jabbypanda.com/blog</link>
	<description>it's RIA, not Rio</description>
	<lastBuildDate>Sun, 18 Sep 2011 22:53:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>v.0.15 update for InputAssist component &#8211; Flex 4.5 SDK Ready!</title>
		<link>http://www.jabbypanda.com/blog/2011/05/v-0-15-update-for-inputassist-component-flex-4-5-sdk-ready/</link>
		<comments>http://www.jabbypanda.com/blog/2011/05/v-0-15-update-for-inputassist-component-flex-4-5-sdk-ready/#comments</comments>
		<pubDate>Wed, 11 May 2011 11:01:40 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex 4]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[InputAssist]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=280</guid>
		<description><![CDATA[Bugs fixed --------- [!] Fixed issue when open popup windows was not automatically closed when MouseEvent.MOUSE_WHEEL occurred somewhere outside of the component; [!] Fixed issue "Error when hit Enter in InputAssist with no dataProvider" https://github.com/JabbyPanda/InputAssist/issues/2. And the last, but not the least - InputAssist is now ready to be used in projects compiled against Flex [...]]]></description>
			<content:encoded><![CDATA[<p>Bugs fixed<br />
---------<br />
[!] Fixed issue when open popup windows was not automatically closed when MouseEvent.MOUSE_WHEEL occurred somewhere outside of the component;<br />
[!] Fixed issue "Error when hit Enter in InputAssist with no dataProvider"<br />
<a href="https://github.com/JabbyPanda/InputAssist/issues/2">https://github.com/JabbyPanda/InputAssist/issues/2</a>.</p>
<p>And the last, but not the least - <strong>InputAssist is now ready to be used in projects compiled against Flex 4.5 SDK</strong> - I just did some code trick due to the public API change in <em>MatrixUtil.getConcatenatedMatrix</em> method in Flex 4.5.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_InputAssist015_614634149"
			class="flashmovie"
			width="600"
			height="350">
	<param name="movie" value="http://www.jabbypanda.com/labs/InputAssist/demo04/Test_InputAssist015.swf " />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/InputAssist/demo04/Test_InputAssist015.swf "
			name="fm_Test_InputAssist015_614634149"
			width="600"
			height="350">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
As always, the most recent source code of the component and compiled SWC library file is available at <a href="http://github.com/JabbyPanda/InputAssist">github.com/JabbyPanda/InputAssist</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2011/05/v-0-15-update-for-inputassist-component-flex-4-5-sdk-ready/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Preview of MaskedTextInput control for Flex 4 SDK</title>
		<link>http://www.jabbypanda.com/blog/2011/04/preview-of-maskedtextinput-control-for-flex-4-sdk/</link>
		<comments>http://www.jabbypanda.com/blog/2011/04/preview-of-maskedtextinput-control-for-flex-4-sdk/#comments</comments>
		<pubDate>Wed, 13 Apr 2011 14:04:00 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex 4]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[AdobeFlex4]]></category>
		<category><![CDATA[MaskedTextInput]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=268</guid>
		<description><![CDATA[&#160;&#160;&#160;Long time, no see! &#160;&#160;&#160;My hands are scratching today to show you a preview of MaskedTextInput control for Flex 4 SDK that I've been working on. &#160;&#160;&#160;Currently only date mask in format "DD/MM/YY" is supported, but more to come. &#160;&#160;&#160;The last, but not the least announcement for today - I plan to create MaskedTextInput control [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;Long time, no see!</p>
<p>&nbsp;&nbsp;&nbsp;My hands are scratching today to show you a preview of MaskedTextInput control for Flex 4 SDK that I've been working on. </p>
<p>&nbsp;&nbsp;&nbsp;Currently only date mask in format "DD/MM/YY" is supported, but more to come. <img src='http://www.jabbypanda.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>&nbsp;&nbsp;&nbsp;The last, but not the least announcement for today -  I plan to create MaskedTextInput control that will be independent of Flex SDK too for all Flash platform developers to benefit from!</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_MaskedTextInput_14364934"
			class="flashmovie"
			width="400"
			height="400">
	<param name="movie" value="http://www.jabbypanda.com/labs/maskedTextInputPreview/Test_MaskedTextInput.swf " />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/maskedTextInputPreview/Test_MaskedTextInput.swf "
			name="fm_Test_MaskedTextInput_14364934"
			width="400"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2011/04/preview-of-maskedtextinput-control-for-flex-4-sdk/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>DateField4 component for Flex 4 SDK</title>
		<link>http://www.jabbypanda.com/blog/2010/12/datefield4-component-for-flex-4-sdk/</link>
		<comments>http://www.jabbypanda.com/blog/2010/12/datefield4-component-for-flex-4-sdk/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 16:46:13 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex 4]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[DateField4]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=213</guid>
		<description><![CDATA[&#160;&#160;&#160;As we all know, a current Flex 4 SDK does not include a new Spark DateField control. And an older 'halo' DateField component is left abandoned somewhere in 2008 year. This leaves the users of Flex SDK with simply no choice available out of the box to support the entry of formatted date data entry [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;As we all know, a current Flex 4 SDK does not include a new Spark DateField control. And  an older 'halo' DateField component is left abandoned somewhere in 2008 year. This leaves the users of Flex SDK with simply no choice available out of the box to support the entry of formatted date data entry in standard international date formats.</p>
<p>&nbsp;&nbsp;&nbsp;Thus, today I am releasing my open-sourced component DateField4 that fixes a number of bugs and issues related to international dates and inline date editing. </p>
<p>&nbsp;&nbsp;&nbsp;I've named my component <u>DateField4</u>, to emphasize the fact that this component is only meant to be used with Flex 4 SDK and beyond.</p>
<p>&nbsp;&nbsp;&nbsp;Below is the demo that showcases the difference between DateField4 and 'halo' DateField. </p>
<p>&nbsp;&nbsp;&nbsp;For example, you may notice, that 'halo' DateField does not support neither French nor Italian international date formatting even to display the date, oouch.</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_DateField4_769914710"
			class="flashmovie"
			width="650"
			height="450">
	<param name="movie" value="http://www.jabbypanda.com/labs/DateField4/demo01/Test_DateField4.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/DateField4/demo01/Test_DateField4.swf"
			name="fm_Test_DateField4_769914710"
			width="650"
			height="450">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
&nbsp;&nbsp;&nbsp;<font size="2"><em>This demo was compiled using newest build of Flex 4.5 SDK to showcase a new Spark Form (good news - we are no longer limited to display validation errors in single tooltip).</em></font></p>
<p>&nbsp;&nbsp;&nbsp;The complete list of new features and bug-list fixes:</p>
<p>[*] Always enabled much improved custom validator for editable DateField that fully supports i18n dates;</p>
<p>[*] Limiting the data entry to "allowedFormatChars" value + numeric chars for editable DateField;</p>
<p>[*] Added "autoShowDropDown" property that controls when dropDown DateChooser menu is displayed;</p>
<p>[*] Pressing ESCAPE key resets the date selection to the previous value before DateField control had obtained a focus;</p>
<p>[*] Improved keyboard navigation for dropDown DateChooser menu when DateField is editable: RIGHT, LEFT, UP, DOWN, PAGE_UP, PAGE_DOWN key strokes are supported;</p>
<p>[!] Fixed <a href="https://bugs.adobe.com/jira/browse/SDK-23069">SDK-23069 </a> [Localization]: DateFormatter.parseDateString does not support non-latin characters in month and days names;</p>
<p>[!] Fixed <a href="https://bugs.adobe.com/jira/browse/SDK-23075">SDK-23075</a> "[Localization]: DateField should support "MMM" and "MMMM" for formatString";</p>
<p>[!] Fixed <a href="https://bugs.adobe.com/jira/browse/SDK-26715">SDK-26715</a> "DateFormatter "parseDateString" method cannot parse dateString value formatted with non default en_US format";</p>
<p>[!] Default width of DateField is wider by 4px to correctly display selected Date when moving cursor caret to the end of the text.</p>
<p>Public Git URL for this project is: <a href="https://github.com/JabbyPanda/DateField4">https://github.com/JabbyPanda/DateField4</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2010/12/datefield4-component-for-flex-4-sdk/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>FTE cannot display Thai characters under Windows XP English using default set of device fonts</title>
		<link>http://www.jabbypanda.com/blog/2010/05/fte-cannot-display-thai-characters-under-windows-xp-english-using-default-set-of-device-fonts/</link>
		<comments>http://www.jabbypanda.com/blog/2010/05/fte-cannot-display-thai-characters-under-windows-xp-english-using-default-set-of-device-fonts/#comments</comments>
		<pubDate>Wed, 05 May 2010 16:06:41 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex 4]]></category>
		<category><![CDATA[Flash Text Engine]]></category>
		<category><![CDATA[Internationalization]]></category>
		<category><![CDATA[Localization]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=132</guid>
		<description><![CDATA[&#160;&#160;&#160;Are you unlucky user of Windows XP English with clean install? &#160;&#160;&#160;If yes, then probably you cannot see Thai characters in Spark text components (e.g Spark Label) in the following demo: 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_Thai_L18n_410926394"
			class="flashmovie"
			width="600"
			height="400">
	<param name="movie" value="http://www.jabbypanda.com/labs/FTEThaiFont/Test_Thai_L18n.swf " />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/FTEThaiFont/Test_Thai_L18n.swf "
			name="fm_Test_Thai_L18n_410926394"
			width="600"
			height="400">
	<!--<![endif]-->
		 
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> Code listing: http://gist.github.com/390993 &#160;&#160;&#160; New Flex Spark Label to display text uses the new Flash [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;Are you unlucky user of Windows XP English with clean install?  </p>
<p>&nbsp;&nbsp;&nbsp;If yes, then probably you cannot see Thai characters in Spark text components (e.g Spark Label) in the following demo:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_Thai_L18n_332916246"
			class="flashmovie"
			width="600"
			height="400">
	<param name="movie" value="http://www.jabbypanda.com/labs/FTEThaiFont/Test_Thai_L18n.swf " />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/FTEThaiFont/Test_Thai_L18n.swf "
			name="fm_Test_Thai_L18n_332916246"
			width="600"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Code listing: <a href="http://gist.github.com/390993">http://gist.github.com/390993</a></p>
<p>&nbsp;&nbsp;&nbsp; New Flex Spark Label to display text uses the new Flash Text Engine (FTE) introduced in Flash Player 10. And that's true, FTE brought many very useful new features (text subscript,  bidirectional text to name a few) that were previously impossible to achieve with older <em>flash.text.TextField</em> object, but I've learned recently that FTE can fail to display Thai characters under Windows XP clean install.</p>
<p>&nbsp;&nbsp;&nbsp;Eric Y Muller explains the technical details at <a href="http://forums.adobe.com/thread/613825?tstart=0">Adobe forums:</a>, why FTE cannot use neither <em>Tahoma</em> nor <em>Microsoft Sans Serif</em> standard Windows XP fonts as device fallback to display Thai characters.</p>
<p>&nbsp;&nbsp;&nbsp;The only workaround for this issue for the frustrated user would be to <a href="http://www.jutiphan.com/Articles/MakeWindowsXPThaiSupported/tabid/83/Default.aspx">insert original CD</a> with Windows XP install and install Thai language support using "Regional and Language Options" control panel. But this would impossible to achieve for the anonymous employee that works for trans-global corporation without admin access account %-)</p>
<p>&nbsp;&nbsp;&nbsp;As for the developer of the Flash application we can always embed font into Flash app that contains Thai characters, but this will impact the overall bytesize of the resulting SWF file.</p>
<p>ps<br />
&nbsp;&nbsp;&nbsp;In 2010, Windows XP remains highly relevant OS.  Various stat counters show that <a href="http://en.wikipedia.org/wiki/Usage_share_of_operating_systems">52%</a> -<a href="http://www.netmarketshare.com/os-market-share.aspx?qprid=11"> 64%</a> computer users use Windows XP. Thus it is very important for any Flash application to play nice under this OS without an hassle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2010/05/fte-cannot-display-thai-characters-under-windows-xp-english-using-default-set-of-device-fonts/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flex 4 AutoComplete component with text highlighting</title>
		<link>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/</link>
		<comments>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 13:29:38 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex 4]]></category>
		<category><![CDATA[Components]]></category>
		<category><![CDATA[InputAssist]]></category>
		<category><![CDATA[AdobeFlex4]]></category>
		<category><![CDATA[autoComplete]]></category>
		<category><![CDATA[component]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=110</guid>
		<description><![CDATA[&#160;&#160;&#160;Updated: More recent version of this component was announced at September. &#160;&#160;&#160;Disclaimer: My implementation of AutoComplete component is based on the revised codebase of AutoComplete 4 component originally created by Tenger Ivan from FlashCommander.org &#160;&#160;&#160;Two different search modes are supported : PREFIX and INFIX, to see the difference please play with the interactive sample file [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;&nbsp;<strong>Updated:</strong> More recent version of this component was <a href="http://www.jabbypanda.com/blog/2010/09/flex-4-autocomplete-is-now-known-as-inputassist-announcing-0-1-release/">announced</a> at September.</p>
<p>&nbsp;&nbsp;&nbsp;<em>Disclaimer:</em> My implementation of AutoComplete component is based on the revised codebase of <a href="http://flashcommander.org/blog/flex-4-autocomplete">AutoComplete 4 component</a> originally created by Tenger Ivan from FlashCommander.org  </p>
<p>&nbsp;&nbsp;&nbsp;Two different search modes are supported : PREFIX and INFIX, to see the difference please play with the interactive sample file below.<br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Test_AutoComplete_2054192841"
			class="flashmovie"
			width="500"
			height="300">
	<param name="movie" value="http://www.jabbypanda.com/labs/autoCompleteHighlight/Test_AutoComplete.swf?id=2" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.jabbypanda.com/labs/autoCompleteHighlight/Test_AutoComplete.swf?id=2"
			name="fm_Test_AutoComplete_2054192841"
			width="500"
			height="300">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>&nbsp;&nbsp;&nbsp;The auto-completion operation can be achieved in two ways:</p>
<li> via keyboard<br />
          First, select the list item by moving selected index via UP and DOWN keys and confirm the choice by hitting ENTER key </p>
<li>via mouse<br />
         Just mouse click upon the currently selected list item.</p>
<p>&nbsp;&nbsp;&nbsp;Disclaimer: the source code of this component is of beta quality and can be obtained for free here: <a href="http://jabbypanda.com/labs/autoCompleteHighlight/srcview/Test_AutoComplete.zip">ZIP file, 23 kb</a>. If any bug is found, please let me know.</p>
<p>&nbsp;&nbsp;&nbsp;UPD:  Updated sample file with a real world list of 978 US universities.<br />
&nbsp;&nbsp;&nbsp;Also a few bugs were fixed related to case insensitive search and not working text highlight of the last string character.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2010/03/autocomplete-component-for-flex-4-that-supports-entered-text-highlighting/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>When overriding &#8220;commitProperties&#8221; put &#8220;super.commitProperties&#8221; call to the end of the method</title>
		<link>http://www.jabbypanda.com/blog/2010/02/when-overriding-commitproperties-put-super-commitproperties-call-to-the-end-of-the-method/</link>
		<comments>http://www.jabbypanda.com/blog/2010/02/when-overriding-commitproperties-put-super-commitproperties-call-to-the-end-of-the-method/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:09:23 +0000</pubDate>
		<dc:creator>JabbyPanda</dc:creator>
				<category><![CDATA[Adobe Flex]]></category>
		<category><![CDATA[Adobe Flex 4]]></category>

		<guid isPermaLink="false">http://www.jabbypanda.com/blog/?p=255</guid>
		<description><![CDATA[My use-case &#160;&#160;&#160;Recently I've tried to introduce skin states to the pretty complex UI component in Adobe Flex 4. I have got puzzled by the behaviour that my invalidateSkinState() calls never had triggered execution of getCurrentSkinState method that controlls the current UI component skin state value as expected. &#160;&#160;&#160;Under closer examination I found out that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>My use-case</strong><br />
&nbsp;&nbsp;&nbsp;Recently I've tried to introduce skin states to the pretty complex UI component in Adobe Flex 4. I have got puzzled by the behaviour that my <em>invalidateSkinState()</em> calls never had triggered execution of <em>getCurrentSkinState</em> method that controlls the current UI component skin state value as expected. </p>
<div class="simplePullQuote">Invalidation of the same phase while processing that phase is ignored - by Alex Harui</div>
<p>&nbsp;&nbsp;&nbsp;Under closer examination I found out that I fall into the same invalidation trap that <em>James Polanco</em> did in <a href="http://www.developmentarc.com/site/2010/11/invalidateskinstate-trap">November 2010</a>. </p>
<p>&nbsp;&nbsp;&nbsp;I must stress out that it was easy to fall into this trap in my case because inside "commitProperties" call I was doing pretty complex calculations that involved, for example, the creation of display object sub-children, listening for "preinitialize" events from those sub-children, reacting to it, etc.</p>
<p>&nbsp;&nbsp;&nbsp; To cut the talk short, to prevent this property invalidation trap from happening I suggest to always follow the simple rule of the thumb:</p>
<blockquote><p>When overriding "commitProperties" put "super.commitProperties" call to the end of the method</p></blockquote>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;">override protected <span style="color: #000000; font-weight: bold;">function</span> commitProperties<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>myPropertyChanged<span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#123;</span>        
        disableMyUIComponent = <span style="color: #000000; font-weight: bold;">true</span>;
        invalidateSkinState<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
        myPropertyChanged = <span style="color: #000000; font-weight: bold;">false</span>;
    <span style="color: #66cc66;">&#125;</span>
    <span style="color: #0066CC;">super</span>.<span style="color: #006600;">commitProperties</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
override protected <span style="color: #000000; font-weight: bold;">function</span> getCurrentSkinState<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">String</span> <span style="color: #66cc66;">&#123;</span> 
    <span style="color: #000000; font-weight: bold;">var</span> returnState:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;normal&quot;</span>; 
&nbsp;
    <span style="color: #808080; font-style: italic;">// Use information in the class to determine the new view state of the skin class. </span>
    <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>disableMyUIComponent<span style="color: #66cc66;">&#41;</span>     <span style="color: #66cc66;">&#123;</span> 
        returnState = <span style="color: #ff0000;">&quot;disabled&quot;</span>; 
    <span style="color: #66cc66;">&#125;</span> 
    <span style="color: #b1b100;">return</span> returnState; 
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>Futher reading:<br />
Discussion at 2008 at Flexcoders mailing list (yeah, at that time, this mailing list was more interesting to read) <a href="http://www.mail-archive.com/flexcoders@yahoogroups.com/msg100622.html">"Must call super.commitProperties at END of overrided commitProperties when extending XXXX?"</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jabbypanda.com/blog/2010/02/when-overriding-commitproperties-put-super-commitproperties-call-to-the-end-of-the-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

