Steve Kuo
Steve Kuo

Reputation: 63094

Flex/AIR ComboBox is slow to expand

I'm using a mx.controls.ComboBox which holds 2-5 values. When the ComboBox is clicked, the possible choice are drawn below it. There seems to be some kind of transition that opens the ComboBox slowly. With Flex (in a browser), it takes 200-300 msec to open. With AIR, it seems to take longer, and opens in a jerky manner.

Someone at Adobe probably thought they were being cute, but the effect (especially in AIR) just looks lame.

Is there a way to disable this?

Upvotes: 0

Views: 209

Answers (1)

Sunil D.
Sunil D.

Reputation: 18193

The mx ComboBox has two styles which control the open/close duration.

<mx:ComboBox openDuration="0" closeDuration="0" />

However, the fact that this animation plays so poorly does seem odd. In addition to which version of the Flex SDK you're using, you might also specify if this is a mobile AIR app or not.

Upvotes: 2

Related Questions