Help creating a very special listbox

i was looking at this tut: http://www.kirupa.com/developer/mx/listbox.htm , and i wanna create somthing almost like it.

The differences iam looking for i that when i press one of the “links” in the listbox, i want a custom text to appear.

Not the date and all that appears in the tut.

Could anyone please help with that?

QualiTy

What’s “a custom text”?
You can use the tutorial “as-is”, and just change
list.addItem(“Flash MX Release”,new Date(2002,2,15));
the first part in “” to what you want the listbox to show
the “new Date(2002,2,15)” into your custom text for each…
whatever you put in the data will be returned, you can make the changeHandler much simpler also…:
function displayDetails©{
textbox.text = c.getSelectedItem().data;
}

its kinda complicated.

its a website iam creating for an industrial care company, and thay want like this troubleshoot part.

there is 17 “problems”, that where supposed to be in the listboks, and when you push one of them, you get the answer.

Instead of scrolling ALOT.

Cuz its alot of free space and lines too.

?
I don’t understand
a/ what you want to say
b/the problem…?

ok.

Lets say the listbox have 3 items.

  1. How can i decrease filesize?
  2. Who owns this website?
  3. How can i get more info?

So when someone pushes one of them, the answer to the question pops up.

You got it?

Yes.
And that’s exctly what I explained: change the data inot what you want the info to read.
You got it?

yeah, but i dont need all that date ****.

And if i just edit the one in the tut, i cant make my own title to be in the listbox…

i tried, but ididnt figure it out.