# Loading text

**URL:** <https://forum.kirupa.com/t/loading-text/160536>\
**Category:** Uncategorized\
**Created:** [August 26, 2005, 6:37pm UTC](https://forum.kirupa.com/t/loading-text/160536 "2005-08-26T18:37:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![redjoe100](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@redjoe100](https://forum.kirupa.com/u/redjoe100)\
**Post date:** [August 26, 2005, 6:37pm UTC](https://forum.kirupa.com/t/loading-text/160536/1 "2005-08-26T18:37:34Z")

</div>

Dear kirupians

I am tring to create an information post using loading text from text files:

I have a combo box which I have populated using AS

I would like users to select an item from the combobox - this would change the text in the dynamic text box I have.

Basically a user selects the room number and then the eqipment list is posted in the text box.

1. I have been using the on(Change) function for the combobox, I would like to replace the getUrl with a fuction that loads a text file into the text area:

on(change)  
{  
if ( this.selectedItem.label == “room 1” )  
{  
//getUrl

}  
else if ( this.selectedItem.label == “room 2” )  
{  
//getUrl  
}  
else if ( this.selectedItem.label == “room 3” )  
{  
//getUrl  
}

}

1. I need the text to apear in a list format e.g:

A) DVD player  
B) LCD projector  
C) Smart board

Is this possible with plain text or do I need something like the XML connector?

If anyone can help me that would be great

I’m just a beginner so please be gentle

Many thanks

Joe
