# Combo Box and Dynamic Text field

**URL:** <https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/42871>\
**Category:** flash\
**Created:** [February 13, 2004, 10:37pm UTC](https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/42871 "2004-02-13T22:37:02Z")\
**Posts on this page:** 3\
**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/42871/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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2004, 2:39am UTC](https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/42871/2 "2004-02-14T02:39:55Z")

</div>

i dont understand the link that u want to achieve between the combobox and the loaded text

please be more specific

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 14, 2004, 3:01am UTC](https://forum.kirupa.com/t/combo-box-and-dynamic-text-field/42871/3 "2004-02-14T03:01:06Z")

</div>

Okay basically I have two things, a dynamic text box with a scroller component attached to it and a combo box component.

when a user selects an item from the combo box, the correlating information to that item appears in the dynamic text field.

That dynamic information is being pulled from a url like; (this is just am example)  
([http://www.website.com/testingScript.php?ID=24](http://www.website.com/testingScript.php?ID=24))

Understand or no? Don’t know how else I could explain this.
