Dynamically populating a listbox and more!

hi all, I need some help figuring out how to populate a listbox with variables. I need to bring in the variables (probably in an array) from an .asp page. Then I need to assign each array element a variable name and get the variables to appear as selectable elements of the listbox component… I’ve been unable to find good resources on this anywhere! any experts out there have some good advice?

Populate the array with the values from the ASP page and then use something like this:

labels_array = ["a", "b", "c", "d"];
for (var i in labels_array) {
	mylistbox.addItemAt(0, labels_array*, labels_array*);

sweet thanks claudio! i actually figured out how to do it exactly like you said but i appreciate your post

know of any good resources to figure out how to make it so the user’s selection from the listbox does what I want it to ?