# Listbox and Dynamic Text

**URL:** <https://forum.kirupa.com/t/listbox-and-dynamic-text/278350>\
**Category:** flash\
**Created:** [December 28, 2008, 5:31am UTC](https://forum.kirupa.com/t/listbox-and-dynamic-text/278350 "2008-12-28T05:31:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onmosh](https://avatars.discourse-cdn.com/v4/letter/o/958977/32.png) [@onmosh](https://forum.kirupa.com/u/onmosh)\
**Post date:** [December 28, 2008, 5:31am UTC](https://forum.kirupa.com/t/listbox-and-dynamic-text/278350/1 "2008-12-28T05:31:30Z")

</div>

Hi,

Merry Christmas and Happy New Year to Everyone!

Guys i know you can help me on this. just a simple problem i can’t figure it out.

here goes:

i have a listbox have 3 labels or data. when i click the number 2 label or data. the number 2 will appear in the dynamic text. how? i’m using Flash CS3. before no worries because im using Flash MX.

this is only the code: textbox.text = c.getSelectedItem().label;

but for the Flash CS3 listbox. you have idea guys?

thanks!
