I have two listboxes getting their data from an XML
connector. This is a sign language video dictionary. The first
listbox (alphaList) is a list of letters (A,B,C), and the second
listbox (wordList) is words starting with that letter. An FLV
player grabs a URL from the selectedIndex of the wordList box.
My problem is that different letters have different numbers
of words. So for instance, if a user is on the 5th word in "A",
then switches to "K" which has only two words, the wordList is
trying to load index 5, which doesn't exist. The player locks up.
All I need to do is set the selectedIndex of the wordList to
0 whenever a user changes the value of the alphaList, which I
thought I could do with this code: