<?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: Changing the Flex ComboBox control&#8217;s opening and closing easing functions</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/</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: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-9046</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Mon, 14 Mar 2011 18:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-9046</guid>
		<description>@naidu,

Please file a bug at http://bugs.adobe.com/flex and include a simple test case and somebody from Adobe will take a look.
Since you&#039;re trying to launch a popup from a ComboBox change event, you may need to try manually closing the Spark ComboBox control using the &lt;code&gt;close()&lt;/code&gt; method.

Peter</description>
		<content:encoded><![CDATA[<p>@naidu,</p>
<p>Please file a bug at <a href="http://bugs.adobe.com/flex" rel="nofollow">http://bugs.adobe.com/flex</a> and include a simple test case and somebody from Adobe will take a look.<br />
Since you&#8217;re trying to launch a popup from a ComboBox change event, you may need to try manually closing the Spark ComboBox control using the <code>close()</code> method.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naidu</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-9045</link>
		<dc:creator>naidu</dc:creator>
		<pubDate>Mon, 14 Mar 2011 17:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-9045</guid>
		<description>Hi,

        I have a problem that the spark combobox that i am using is not closing after selecting the item in dropdown.

        here is the correct scenario, I have 3 fixed labels in dropdown of combobox, when i click on the first label a pop up should appear( which contains yes and no buttons).clicking YES will send a blazeds call.the dropdown is not closing even after that popup closed .for rest of the labels there will not be any popups clicking on those. in that case the dropdown is closing.

     Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>        I have a problem that the spark combobox that i am using is not closing after selecting the item in dropdown.</p>
<p>        here is the correct scenario, I have 3 fixed labels in dropdown of combobox, when i click on the first label a pop up should appear( which contains yes and no buttons).clicking YES will send a blazeds call.the dropdown is not closing even after that popup closed .for rest of the labels there will not be any popups clicking on those. in that case the dropdown is closing.</p>
<p>     Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arkady</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-7707</link>
		<dc:creator>Arkady</dc:creator>
		<pubDate>Fri, 14 May 2010 16:03:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-7707</guid>
		<description>how to set openDuration at spark components?</description>
		<content:encoded><![CDATA[<p>how to set openDuration at spark components?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-6858</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 28 Jan 2010 01:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-6858</guid>
		<description>??</description>
		<content:encoded><![CDATA[<p>??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-6857</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 28 Jan 2010 00:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-6857</guid>
		<description>&quot;after the jump&quot; sucks balls.</description>
		<content:encoded><![CDATA[<p>&#8220;after the jump&#8221; sucks balls.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-4956</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-4956</guid>
		<description>@JCKodel,

It turns out you &lt;em&gt;CAN&lt;/em&gt; set the &lt;code&gt;openEasingFunction&lt;/code&gt; and &lt;code&gt;closeEasingFunction&lt;/code&gt; in CSS, but it was a compiler feature added in the new Flex 4 SDK. For more information, and an example, see &lt;a href=&quot;http://blog.flexexamples.com/2009/08/05/changing-the-opening-and-closing-easing-functions-on-a-halo-combobox-control-in-flex-4/&quot; rel=&quot;nofollow&quot;&gt;&quot;Changing the opening and closing easing functions on a Halo ComboBox control in Flex 4&quot;&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>@JCKodel,</p>
<p>It turns out you <em>CAN</em> set the <code>openEasingFunction</code> and <code>closeEasingFunction</code> in CSS, but it was a compiler feature added in the new Flex 4 SDK. For more information, and an example, see <a href="http://blog.flexexamples.com/2009/08/05/changing-the-opening-and-closing-easing-functions-on-a-halo-combobox-control-in-flex-4/" rel="nofollow">&#8220;Changing the opening and closing easing functions on a Halo ComboBox control in Flex 4&#8243;</a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-4920</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 04 Aug 2009 02:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-4920</guid>
		<description>@JCKodel,

Unfortunately, I do not believe that syntax is supported by the Flex compiler.
But, I &lt;em&gt;do&lt;/em&gt; have a few other workarounds you could try:

1) Use the StyleManager to globally override the easing functions for all ComboBox controls:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        initialize=&quot;init();&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.effects.easing.Bounce;

            private function init():void {
                var styObj:CSSStyleDeclaration = StyleManager.getStyleDeclaration(&quot;ComboBox&quot;);
                styObj.setStyle(&quot;openEasingFunction&quot;, Bounce.easeOut);
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:ComboBox id=&quot;cb1&quot;
            dataProvider=&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;
            openDuration=&quot;2000&quot; /&gt;

    &lt;mx:ComboBox id=&quot;cb2&quot;
            dataProvider=&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;
            openDuration=&quot;2000&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

-- or --

2) Extend the ComboBox control and specify the &lt;code&gt;openEasingFunction&lt;/code&gt; style in the MXML. Then you can use the custom ComboBox control and still just change the openEasingFunction style in one place and have it change all ComboBox controls in your entire site.
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        xmlns:comps=&quot;comps.*&quot;&gt;

    &lt;comps:CustomComboBox id=&quot;customCB&quot;
            dataProvider=&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;
            openDuration=&quot;2000&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

And the custom ComboBox component, comps/CustomComboBox.mxml, is as follows:
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:ComboBox xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; openEasingFunction=&quot;Bounce.easeOut&quot;&gt;

    &lt;mx:Script&gt;
        import mx.effects.easing.Bounce;
    &lt;/mx:Script&gt;

&lt;/mx:ComboBox&gt;
&lt;/pre&gt;

Hope that helps,
Peter</description>
		<content:encoded><![CDATA[<p>@JCKodel,</p>
<p>Unfortunately, I do not believe that syntax is supported by the Flex compiler.<br />
But, I <em>do</em> have a few other workarounds you could try:</p>
<p>1) Use the StyleManager to globally override the easing functions for all ComboBox controls:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span></span>
<span style="color: #000000;">        initialize=<span style="color: #ff0000;">&quot;init();&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">        &lt;![CDATA[</span>
<span style="color: #339933;">            import mx.effects.easing.Bounce;</span>
&nbsp;
<span style="color: #339933;">            private function init():void {</span>
<span style="color: #339933;">                var styObj:CSSStyleDeclaration = StyleManager.getStyleDeclaration(&quot;ComboBox&quot;);</span>
<span style="color: #339933;">                styObj.setStyle(&quot;openEasingFunction&quot;, Bounce.easeOut);</span>
<span style="color: #339933;">            }</span>
<span style="color: #339933;">        ]]&gt;</span>
<span style="color: #339933;">    &lt;/mx:Script&gt;</span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ComboBox</span> id=<span style="color: #ff0000;">&quot;cb1&quot;</span></span>
<span style="color: #000000;">            dataProvider=<span style="color: #ff0000;">&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;</span></span>
<span style="color: #000000;">            openDuration=<span style="color: #ff0000;">&quot;2000&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ComboBox</span> id=<span style="color: #ff0000;">&quot;cb2&quot;</span></span>
<span style="color: #000000;">            dataProvider=<span style="color: #ff0000;">&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;</span></span>
<span style="color: #000000;">            openDuration=<span style="color: #ff0000;">&quot;2000&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>&#8211; or &#8211;</p>
<p>2) Extend the ComboBox control and specify the <code>openEasingFunction</code> style in the MXML. Then you can use the custom ComboBox control and still just change the openEasingFunction style in one place and have it change all ComboBox controls in your entire site.</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span></span>
<span style="color: #000000;">        xmlns:comps=<span style="color: #ff0000;">&quot;comps.*&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;comps:CustomComboBox</span> id=<span style="color: #ff0000;">&quot;customCB&quot;</span></span>
<span style="color: #000000;">            dataProvider=<span style="color: #ff0000;">&quot;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&quot;</span></span>
<span style="color: #000000;">            openDuration=<span style="color: #ff0000;">&quot;2000&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>And the custom ComboBox component, comps/CustomComboBox.mxml, is as follows:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:ComboBox</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> openEasingFunction=<span style="color: #ff0000;">&quot;Bounce.easeOut&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">        import mx.effects.easing.Bounce;</span>
<span style="color: #339933;">    &lt;/mx:Script&gt;</span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:ComboBox</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Hope that helps,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JCKodel</title>
		<link>http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/comment-page-1/#comment-4916</link>
		<dc:creator>JCKodel</dc:creator>
		<pubDate>Mon, 03 Aug 2009 23:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/18/changing-the-flex-combobox-controls-opening-and-closing-easing-functions/#comment-4916</guid>
		<description>How to accomplish this using CSS (I want to make the easingXXXFunction application-wide)?
&lt;pre class=&quot;code&quot;&gt;
ComboBox
{
    openEasingFunction: ClassReference(fullNamespace.Bounce.Style);
}
&lt;/pre&gt;

does not work =(</description>
		<content:encoded><![CDATA[<p>How to accomplish this using CSS (I want to make the easingXXXFunction application-wide)?</p>
<pre class="code">
ComboBox
{
    openEasingFunction: ClassReference(fullNamespace.Bounce.Style);
}
</pre>
<p>does not work =(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

