Hi all this is my first post to this amazing forum!
I have a wierd problem that I can’t seem to find the answer to. I have a class that loads an xml file which populates a “category” combobox with label fields. After the xml is parsed, it calls a method that sequentially loads images into Loader instances in extended sprite classes. Within this function it displays a message of the category that it is being loaded and the current count and total images. I’m trying to get the string out of the selectedLabel property of the combobox that I know is already present because it was populated in the function mentioned above. So what happens is it says “Loading null: 1 of 10” then in the second iteration it works correctly as in “Loading [category]: 2 of 10”
I’ve tried using ComboBox.selectedItem.label but this actually generates the null reference error
Any Ideas?
Thanks very much