# Read html-file to textbox

**URL:** <https://forum.kirupa.com/t/read-html-file-to-textbox/19385>\
**Category:** Uncategorized\
**Created:** [April 27, 2003, 2:25pm UTC](https://forum.kirupa.com/t/read-html-file-to-textbox/19385 "2003-04-27T14:25:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seticus](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Seticus](https://forum.kirupa.com/u/Seticus)\
**Post date:** [April 27, 2003, 2:25pm UTC](https://forum.kirupa.com/t/read-html-file-to-textbox/19385/1 "2003-04-27T14:25:38Z")

</div>

I think this is almost impossible, or at least very difficult. The thing is: I wanted to make a guestbook on my site (inside flash) but my server doesn’t allow me to use php. So the only other way (I think) is to use a remote script-host. So that’s what I did, I found one on [scripthost.com](http://scripthost.com). It’s a very simple one, it just changes a html-file everytime a new entry is entered. What I want to do now is to extract all the things that are in the html-file and put them in textboxes. Is this possible?

I searched a little bit and I found that I could use the server side include tags to read a html-file to another html-file (inside a div) and then use javascript to read the div and send it to a textbox in flash. But I can’t seem to use ssi I don’t know why, I never used it before and I don’t really understand the language :crazy: .

Thanks

---

<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:** [April 28, 2003, 5:23pm UTC](https://forum.kirupa.com/t/read-html-file-to-textbox/19385/2 "2003-04-28T17:23:52Z")

</div>

I guess it’s not so easy to extract something from a html file. I found something on flashkit [http://www.flashkit.com/movies/Scripting/Using\_External\_Files/load\_con-F-8012/index.php](http://www.flashkit.com/movies/Scripting/Using_External_Files/load_con-F-8012/index.php). This script can extract everything that’s in a html-file, but when I put in online, it doesn’t seem to work, I don’t know why…  
Could you help me?

---

<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:** [April 28, 2003, 5:33pm UTC](https://forum.kirupa.com/t/read-html-file-to-textbox/19385/3 "2003-04-28T17:33:27Z")

</div>

lol u have a similar idea as me… why aint there any html textbox in flash… anyway it is impossible to render html within flash itself… u can however use txt files etc to load text into the textbox  
[http://www.kirupa.com/developer/mx/dynamic\_scroller.htm](http://www.kirupa.com/developer/mx/dynamic_scroller.htm)  
this is the tutorial on it… 🙂

---

<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:** [April 28, 2003, 5:49pm UTC](https://forum.kirupa.com/t/read-html-file-to-textbox/19385/4 "2003-04-28T17:49:32Z")

</div>

Yes, I knew that, and I also know that you can load html-files with it but textboxes have to be set as variables (textbox=…). The thing is, I can’t change this HTML-file and it doesn’t start with something like it.

Maybe I can read this html-file using javascript and put it into a function, so I can use flash to call this function. Possible?

Also: If anyone knows how to use ssi (server side includes) let me know.

By the way, I don’t have to render it, I just need the code, well actually just the text…
