# Sending and recieving data

**URL:** https://forum.kirupa.com/t/sending-and-recieving-data/5521
**Category:** Uncategorized
**Created:** [September 13, 2002, 6:44pm UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521 "2002-09-13T18:44:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)
#### Post date: [September 13, 2002, 6:44pm UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521/1 "2002-09-13T18:44:57Z")

</div>

i would like to make a text field that will load from a .txt file dynamically. updating onLoad or something like that.

i would like to be able to send text from an input field in the flash file to the .txt file which will then update onLoad to the dynamic text field in the flash movie

in essence like a very simple chat.

any suggestions on how to do this or who might know, where i might learn 🙂

thanks very much

---

<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: [September 13, 2002, 7:30pm UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521/2 "2002-09-13T19:30:03Z")

</div>

Loading data from a txt is easy, but Flash can’t write to txt files itself.  
You’d need to interface that with a php script, which writes to the txt & sends back data to Flash.  
Check [www.phpforflash.com](http://www.phpforflash.com) (downloads, tutorials and board), [www.friendsofed.com](http://www.friendsofed.com) (the code section, it’s the editors of that book, the new advanced one should be out this months, downloads are already available with a very nice chat app !), and finally [www.flash-db.com](http://www.flash-db.com) .

---

<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: [September 13, 2002, 9:04pm UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521/3 "2002-09-13T21:04:29Z")

</div>

so then in order to do that i have to be running a server with PHP or something that?

---

<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: [September 14, 2002, 10:58am UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521/4 "2002-09-14T10:58:32Z")

</div>

You or your provider (better :))

---

<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: [September 14, 2002, 2:25pm UTC](https://forum.kirupa.com/t/sending-and-recieving-data/5521/5 "2002-09-14T14:25:40Z")

</div>

no need for dispair, php is gaining more and more acceptance, mainly because it Rocks!
