charudatta
charudatta

Reputation: 409

SWF "loading" icon in a flex combobox drop down

In the flex web app i'm working on, i need to show a loading icon (an SWF spinner) in the combobox drop down until the user list is initialized. Is there any way to do this?

Upvotes: 0

Views: 559

Answers (2)

alxx
alxx

Reputation: 9897

You need to extend ComboBox, suppress dropdown appearance if data not ready, and show some replacement of dropdown with animation. When data is ready, set it into dataProvider and open dropdown programmatically.

Upvotes: 1

The_asMan
The_asMan

Reputation: 6403

showBusyCursor = true when the data starts to load.
showBusyCursor = false when you are done getting the data.

Upvotes: 0

Related Questions