English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Yes I have Flash. I was wondering how I could write to an HTML file or TXT file using Flash.

2006-12-05 13:48:50 · 1 answers · asked by Rockstar 6 in Computers & Internet Programming & Design

1 answers

Im not sure that this is possible without setting up some form of server on the computer on which the HTML file is stored. To actually create a FLASH comment Box I would not edit the raw HTML. The way I would go about this is similar to how flash chat is implemented on this site http://www.sephiroth.it/tutorials/flashPHP/flash_chat/. The basic idea is that from within the flash program, you call up a dynamic web page and manually edit in the value of variables (which are your comments) into the GET field of the web URL. e.g. www.mysite.com?variable1=commentishere. Then some form of server side scripting language (PHP, ASP, PERL, Python etc), reads this and puts the comment into a database. To display the comments another script reads all the comments in the database and assembles a HTML document that is then sent to the user.
This probably sounds complicated but its not really. Just do some reading and start with the link I gave you.

2006-12-07 17:44:21 · answer #1 · answered by brock_wht 1 · 0 0

fedest.com, questions and answers