# Combo Box and Dynamic Text field

**URL:** <https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/101784>\
**Category:** Uncategorized\
**Created:** [February 13, 2004, 10:37pm UTC](https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/101784 "2004-02-13T22:37:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tranism](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tranism/32/269_2.png) [@tranism](https://forum.kirupa.com/u/tranism)\
**Post date:** [February 13, 2004, 10:37pm UTC](https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/101784/1 "2004-02-13T22:37:02Z")

</div>

Hey people,

I have a dynamic text field that I want information displayed in depending on what the user selects in the combo box.

I know how to make the text field display the information if a button is pressed, but I do I do that same thing when a user makes a selection from the combo box.

Here’s what I have when a user clicks a button:  
[AS]on (release) {  
loadVarsText = new loadVars();  
loadVarsText.load(“blah blah blah”);  
loadVarsText.onLoad = function(success) {  
if (success) {  
trace(“done loading”);  
scroller.html = true;  
scroller.htmlText = this.textfield;  
} else {  
trace(“not loaded”);  
}  
};  
}[/AS]

HELP ME PLEASE
