PDA

View Full Version : List box component add data?


mordocai
03-18-2005, 12:14 AM
Ok, in the movie, i have a listbox component, and input 2 textfiels, and a button.

Instance names
Listbox component - myList
Add button - add
Input1 - display
Input2 - varible

Here is what it needs to do, the listbox component is blank, whatever is in Intup1 (display) should be a lable and Input2 (varible) should be the data attached to the lable.
For example if "input1 = System of a down" "input2 = sys.mp3" The text System of a down with the data sys.mp3 should appear in the list component if the add button is pressed.
Can anyone please help me?
Was i specific enough?

Thanks,
~Gabor
< gszauer@swfla.rr.com >

reyco1
03-18-2005, 03:06 AM
It is possible. But I have a question for you. everytime you close and then open the movie, the list box would reset and be empty again. Dou you need for the listbox to be populated with the same labels inputed during the last session? For that you would need to hook it up with a SharedObject();

lemme know, i'll give you a hand.