;

PDA

Click to See Complete Forum and Search --> : Load & Edit External Text


flashhq
11-06-2003, 07:07 PM
I enjoyed making a external text loader for my Flash movie and thought; "Wouldn't it be neat to be able to edit that text with my browser?" ...well now you can.

Required: PHP

I'm using it with this template: View Template (http://flashhq.net/swish/overlord)
You can play with my demo: View Demo (http://flashhq.net/swish/)

Files news_loader.swi news_loader.swf news_loader.html news.txt edit_file.php
...all in a handy zip file Download (http://flashhq.net/swish/Ext_Load-n-Edit.zip)

I think the whole thing is pretty straight forward so I don't expect anybody will have too much trouble with it. Let me know if I've overlooked something.

Vincent26381
11-06-2003, 07:59 PM
Nice example :)

It would be nice to take the ampersant and the var name out of the textbox and write that to the textfile instead:


$newvar = '&oldvar=' . $textbox . '&';

Just a simple line so you can't mess up the textfile.
(With the dot you add those three things to the one var)
:)