I have a very simple Flash tool that was written over a year ago (not by me). I want to make two simple changes to it, but I have no idea what I'm doing.
When the tool loads, I have 5 input fields (one text field and 4 comboboxes). How do I set default values for these fields? For example, I want the 5th drop-down item selected for all 4 comboboxes when the flash tool is loaded.
I think I found a piece of code that does this but I just have no idea where to put the code:
font_cb.selectedindex = 5;
Also, the font for the combobox choices and text field is in Arial and I want it to be in Georgia. How would I do this?
Thanks in advance!
Kelly
When the tool loads, I have 5 input fields (one text field and 4 comboboxes). How do I set default values for these fields? For example, I want the 5th drop-down item selected for all 4 comboboxes when the flash tool is loaded.
I think I found a piece of code that does this but I just have no idea where to put the code:
font_cb.selectedindex = 5;
Also, the font for the combobox choices and text field is in Arial and I want it to be in Georgia. How would I do this?
Thanks in advance!
Kelly