Mx 2004 combobox

Can someone help a newbie make the subject combobox editable/persistent by the

user without any other form/screen used to populate it.

I merely need the user’s entries (if unique) to persist.

Here’s my vague pseudo:

//add to combobox

function add();

yourItem = myComboBox.getSelectedItem().label;
trace("You selected the item " + yourItem );

for (i=0; i < array.length; i++)
if (array* != yourItem)

{
	yourItem.addItemAt[0, "yourItem"]

	else
	break;

}

I can’t find adeqaute documentation anywhere.

Do you want the function add() to call the other things in your actionscript?

What do you mean?

In an editable combobox, I just want the users entries to be there next session. Added to the array for the component.

can’t you just assign the selected items label to a variable and load it in the next frame?

Could you show me in pseudocode?

Actions for combobox:
[AS]
on (change) {
_root.yourVariable = this.text;
}
[/AS]

Then you have the selected item saved in a variable, so you can use it in another frame or something else.

So, now to get it into the combobox array, how does my pseudocode look?

I don’t know what psudecode is, so I’m afraid I can’t help you. :frowning:

*Originally posted by surfish *
Can someone help a newbie make the subject combobox editable/persistent by the user without any other form/screen used to populate it.
I merely need the user’s entries (if unique) to persist.

Where are you retrieving the user’s entries from, since you stated you want no form/screen?

The user types into the editable dropdown combobox. It is a component with flash mx 2004 pro.

I merely want the user’s entiries in the editable portion of the combobox to be retained.

Can you see that in my pseudocode?