Combobox item -> dynamic text

in the screen i have:
a combobox (items are numbers) “mycombobox” (from Flash components)
a dynamic text “mytext”
and a button “enter data” (from Flash components)
the button code:

on (press) {  
    if (mycombobox.getValue() == 28) {  // items are numbers
       _root.mytext="crazy words"  
 }  
 }

so…
thanks!