<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Creating a simple label function on a Flex ComboBox control</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Myupe</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-6984</link>
		<dc:creator>Myupe</dc:creator>
		<pubDate>Thu, 11 Feb 2010 21:33:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-6984</guid>
		<description>Hi Peter,

I was wondering if it&#039;s possible to replace the label field with a field that is not a String type, such as image.
I searched and find several solutions, but they all extends the Combobox object with a new &quot;ImageComboBox&quot; or &quot;IconComboBox&quot; etc. objects.
Is it possible to do it without create a new class which extends the mx combobox?

Thanks,
Myupe.</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I was wondering if it&#8217;s possible to replace the label field with a field that is not a String type, such as image.<br />
I searched and find several solutions, but they all extends the Combobox object with a new &#8220;ImageComboBox&#8221; or &#8220;IconComboBox&#8221; etc. objects.<br />
Is it possible to do it without create a new class which extends the mx combobox?</p>
<p>Thanks,<br />
Myupe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chhabeg</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1365</link>
		<dc:creator>chhabeg</dc:creator>
		<pubDate>Thu, 23 Apr 2009 09:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1365</guid>
		<description>thats good help
thanks</description>
		<content:encoded><![CDATA[<p>thats good help<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravi</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1364</link>
		<dc:creator>Ravi</dc:creator>
		<pubDate>Tue, 21 Apr 2009 18:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1364</guid>
		<description>The solution for the Yon question is useful to me. I am struggling for the same to implement in my flex project.

Peter, you rock.</description>
		<content:encoded><![CDATA[<p>The solution for the Yon question is useful to me. I am struggling for the same to implement in my flex project.</p>
<p>Peter, you rock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yon</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1366</link>
		<dc:creator>Yon</dc:creator>
		<pubDate>Thu, 19 Feb 2009 17:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1366</guid>
		<description>Yea, it works great!
Thanks man</description>
		<content:encoded><![CDATA[<p>Yea, it works great!<br />
Thanks man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1368</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 18 Feb 2009 16:07:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1368</guid>
		<description>Yon,

Does this work for you?
&lt;pre class=&quot;code&quot;&gt;
&lt;mx:ComboBox id=&quot;comboBox&quot;
        prompt=&quot;Please select a State...&quot;
        dataProvider=&quot;{statesXMLList}&quot;
        labelField=&quot;@abbrev&quot;
        change=&quot;comboBox.text = comboBox.selectedItem.@name;&quot;
        closeDuration=&quot;0&quot; /&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Yon,</p>
<p>Does this work for you?</p>
<pre class="code">
&lt;mx:ComboBox id="comboBox"
        prompt="Please select a State..."
        dataProvider="{statesXMLList}"
        labelField="@abbrev"
        change="comboBox.text = comboBox.selectedItem.@name;"
        closeDuration="0" /&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yon</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1367</link>
		<dc:creator>Yon</dc:creator>
		<pubDate>Wed, 18 Feb 2009 01:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1367</guid>
		<description>Hi Peter,

I was wondering if you could help me out please.
In the example you give, how could we display in the dropdown list name (ABBREV), but when the option&#039;s selected from it, just display the name.

I mistakenly thought i could achieve this, by setting the labelfunction to display the first part, and the second would be handled by the labelField, but it appears labelFunction overwrites labelField.

So i was wondering if this is possible at all.

Thanks in advance,
Regards</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I was wondering if you could help me out please.<br />
In the example you give, how could we display in the dropdown list name (ABBREV), but when the option&#8217;s selected from it, just display the name.</p>
<p>I mistakenly thought i could achieve this, by setting the labelfunction to display the first part, and the second would be handled by the labelField, but it appears labelFunction overwrites labelField.</p>
<p>So i was wondering if this is possible at all.</p>
<p>Thanks in advance,<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blair</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1369</link>
		<dc:creator>Blair</dc:creator>
		<pubDate>Tue, 29 Jul 2008 17:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1369</guid>
		<description>Hi, fantastic site! I&#039;m new at Flex and I&#039;m having trouble with the above. Works great, except I can&#039;t figure out how to something with what appears in the combobox? While the label appears to be formatted, showing the correct XML rows, the actually stored data variable still shows [object:Object]. Any help on where I can figure this out? Thanks.</description>
		<content:encoded><![CDATA[<p>Hi, fantastic site! I&#8217;m new at Flex and I&#8217;m having trouble with the above. Works great, except I can&#8217;t figure out how to something with what appears in the combobox? While the label appears to be formatted, showing the correct XML rows, the actually stored data variable still shows [object:Object]. Any help on where I can figure this out? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Business Minded</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1363</link>
		<dc:creator>Business Minded</dc:creator>
		<pubDate>Sun, 25 May 2008 15:20:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1363</guid>
		<description>Thanks a lot Peter. I&#039;m from India and you are indeed providing us all loads of value.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Peter. I&#8217;m from India and you are indeed providing us all loads of value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1361</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 19 Oct 2007 04:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1361</guid>
		<description>Lovely conepts that you give us......thankyou</description>
		<content:encoded><![CDATA[<p>Lovely conepts that you give us&#8230;&#8230;thankyou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy</title>
		<link>http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/comment-page-1/#comment-1362</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Thu, 04 Oct 2007 09:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/25/creating-a-simple-label-function-on-a-flex-combobox-control/#comment-1362</guid>
		<description>Hi peter,

Just to let you know, you have alot of &#039;loyal&#039; readers everywhere around the globe.
I&#039;m from Kuala Lumpur, Malaysia.

happy flex-ing!</description>
		<content:encoded><![CDATA[<p>Hi peter,</p>
<p>Just to let you know, you have alot of &#8216;loyal&#8217; readers everywhere around the globe.<br />
I&#8217;m from Kuala Lumpur, Malaysia.</p>
<p>happy flex-ing!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

