| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jun 2006
Posts: 11
|
Hi
I'm having a problem with the combobox component. When setting the selectedIndex dynamically with ActioinScript 3 then the comboBox doesn't update. I currently have the code comboBox.selectedIndex = 5; any ideas? |
|
|
|
|
|
#2 |
|
Addict
Join Date: Nov 2001
Location: London
Posts: 2,128
|
when u say it deosn't update, you mean it doesn't change its index?
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jun 2006
Posts: 11
|
yeah sorry i meant update.
I've fixed this problem now, you need to set off a change event from the combo box after you set the selectedIndex. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: Aug 2007
Posts: 7
|
Hi
I know this is a late post. If you happen to see this, could I ask you to post your code with the change event? I'm having a similar problem but I dont understand how to use the change event. Thanks. Cheers stephank |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Having trouble selecting a combo box item | msimmons | Components | 6 | 04-24-2008 07:35 AM |
| Dynamic Combo Box not remembering selected | mattd | Components | 1 | 05-29-2006 11:00 PM |
| knowing which item in a list that is selected? | Clox | ActionScript 2.0 | 12 | 09-01-2005 02:21 PM |
| Second Combo List determined by First Combo's Selected Value | smanandhar | Components | 2 | 08-23-2005 07:06 AM |
| How to display selected item | kieserr | ActionScript 1.0 (and below) | 8 | 06-27-2005 08:43 AM |