# Displaying data as an external file

**URL:** <https://forum.kirupa.com/t/displaying-data-as-an-external-file/79126>\
**Category:** Uncategorized\
**Created:** [February 11, 2005, 2:06am UTC](https://forum.kirupa.com/t/displaying-data-as-an-external-file/79126 "2005-02-11T02:06:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatmammal](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@fatmammal](https://forum.kirupa.com/u/fatmammal)\
**Post date:** [February 11, 2005, 2:06am UTC](https://forum.kirupa.com/t/displaying-data-as-an-external-file/79126/1 "2005-02-11T02:06:04Z")

</div>

## This question is in regards to this tutorial. [http://www.kirupa.com/developer/mx/externaldata.htm](http://www.kirupa.com/developer/mx/externaldata.htm)

I need to create a employee directory for work. I saw this tutorial and thought it would be perfect. I took the code off the action layer and tried applying it to a button but it didn’t work and I got errors.

My idea would to have 1 frame and a button displaying each employee name. When you click “John Doe” it’ll display John Doe’s information (johndoe.txt) and would be different for each one.

Does anybody know how I could do this?

thanks  
Joel
