-
Sort ComboBox Alphabetical
I have a combobox with over 300 items. I tried to keep them as alphabetical as possible but one makes mistakes. Are there any way to force it with Actionscript to sort dynamically alphabetical? I was looking at: comboBoxInstance.sortItems([compareFunc], [optionsFlag]) But to use the compareFunc parameter you need to refer to a function to execute. Has anyone perhaps wrote a function like that to list the items alphabetical?? Pease this would help a lot!!!
-
comboBox.sortItemsBy ("label", "ASC");
Is this what u want?
-
Perfect man! Thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|