PDA

View Full Version : ListBox and eventDispatch


mgrubervs
11-01-2006, 10:55 PM
I have a quick question about a ListBox component.

I have the listbox working just fine, but I want to "select" the first item in the listbox as a default and run the onChange event handler when the user first enters the screen. It works fine when I click on the item, but I want it to run before the user has a chance to click on the item.

Any ideas? I've tried using the eventDispatcher, but it causes the flash player to crash with some sort of loop.

Any ideas would be greatly appreciated.

Matt